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
0b878486
Commit
0b878486
authored
Dec 01, 2013
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved sphinx source database setup into ".sh" file allowing to use relative file path.
parent
629d7f71
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.travis.yml
.travis.yml
+0
-1
sphinx-setup.sh
tests/unit/data/travis/sphinx-setup.sh
+3
-0
No files found.
.travis.yml
View file @
0b878486
...
@@ -13,7 +13,6 @@ before_script:
...
@@ -13,7 +13,6 @@ before_script:
-
composer self-update && composer --version
-
composer self-update && composer --version
-
composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
-
composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
-
mysql -e 'CREATE DATABASE yiitest;';
-
mysql -e 'CREATE DATABASE yiitest;';
-
mysql -D yiitest -u travis < /home/travis/build/yiisoft/yii2/tests/unit/data/sphinx/source.sql
-
psql -U postgres -c 'CREATE DATABASE yiitest;';
-
psql -U postgres -c 'CREATE DATABASE yiitest;';
-
echo 'elasticsearch version ' && curl http://localhost:9200/
-
echo 'elasticsearch version ' && curl http://localhost:9200/
-
tests/unit/data/travis/apc-setup.sh
-
tests/unit/data/travis/apc-setup.sh
...
...
tests/unit/data/travis/sphinx-setup.sh
View file @
0b878486
...
@@ -22,6 +22,9 @@ sudo chmod 777 /var/lib/sphinx # ugly (for travis)
...
@@ -22,6 +22,9 @@ sudo chmod 777 /var/lib/sphinx # ugly (for travis)
sudo mkdir
/var/run/sphinx
sudo mkdir
/var/run/sphinx
sudo chmod
777 /var/run/sphinx
# ugly (for travis)
sudo chmod
777 /var/run/sphinx
# ugly (for travis)
# Setup source database
mysql
-D
yiitest
-u
travis <
$CWD
/../sphinx/source.sql
# setup test Sphinx indexes:
# setup test Sphinx indexes:
indexer
--config
$CWD
/../sphinx/sphinx.conf
--all
indexer
--config
$CWD
/../sphinx/sphinx.conf
--all
...
...
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