Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
20077771
Commit
20077771
authored
Aug 30, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sphinx-setup.sh
parent
d64fa3e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
sphinx-setup.sh
tests/unit/data/travis/sphinx-setup.sh
+1
-18
No files found.
tests/unit/data/travis/sphinx-setup.sh
View file @
20077771
...
@@ -2,27 +2,10 @@
...
@@ -2,27 +2,10 @@
SCRIPT
=
$(
readlink
-f
"
$0
"
)
SCRIPT
=
$(
readlink
-f
"
$0
"
)
CWD
=
$(
dirname
"
$SCRIPT
"
)
CWD
=
$(
dirname
"
$SCRIPT
"
)
# work around https://github.com/travis-ci/travis-ci/issues/2728
# make dir that is used in sphinx config
PATH
=
$PATH
:/usr/local/sphinx-2.1.9/bin
mkdir
-p
sphinx
mkdir
-p
sphinx
sed
-i
s
\~
SPHINX_BASE_DIR~
$PWD
/sphinx~g
$CWD
/../sphinx/sphinx.conf
sed
-i
s
\~
SPHINX_BASE_DIR~
$PWD
/sphinx~g
$CWD
/../sphinx/sphinx.conf
# log files
#sudo mkdir /var/log/sphinx
#sudo touch /var/log/sphinx/searchd.log
#sudo touch /var/log/sphinx/query.log
#sudo chmod -R 777 /var/log/sphinx # ugly (for travis)
# spl dir
#sudo mkdir /var/lib/sphinx
#sudo chmod 777 /var/lib/sphinx # ugly (for travis)
# run dir pid
#sudo mkdir /var/run/sphinx
#sudo chmod 777 /var/run/sphinx # ugly (for travis)
# Setup source database
# Setup source database
mysql
-D
yiitest
-u
travis <
$CWD
/../sphinx/source.sql
mysql
-D
yiitest
-u
travis <
$CWD
/../sphinx/source.sql
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment