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
4d1390ce
Commit
4d1390ce
authored
Dec 18, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed travis mongodb
parent
e36f7a63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
.travis.yml
.travis.yml
+2
-4
mongodb-setup.sh
tests/unit/data/travis/mongodb-setup.sh
+11
-0
No files found.
.travis.yml
View file @
4d1390ce
...
...
@@ -15,17 +15,15 @@ install:
-
composer self-update && composer --version
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
-
echo 'elasticsearch version ' && curl http://localhost:9200/
-
tests/unit/data/travis/mongodb-setup.sh
-
tests/unit/data/travis/apc-setup.sh
-
tests/unit/data/travis/memcache-setup.sh
-
tests/unit/data/travis/cubrid-setup.sh
-
tests/unit/data/travis/sphinx-setup.sh
-
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-
sudo 'echo "textSearchEnabled=true" >> /etc/mongodb.conf'
-
sudo service restart mongodb
before_script
:
-
mysql -e 'CREATE DATABASE yiitest;';
-
psql -U postgres -c 'CREATE DATABASE yiitest;';
-
tests/unit/data/travis/sphinx-setup.sh
-
mongo yii2test --eval 'db.addUser("travis", "test");'
script
:
...
...
tests/unit/data/travis/mongodb-setup.sh
0 → 100755
View file @
4d1390ce
#!/bin/sh
#
# install mongodb
echo
"extension = mongo.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
sudo
sh
-c
'echo "setParameter = textSearchEnabled=true" >> /etc/mongodb.conf'
cat
/etc/mongodb.conf
mongod
--version
sudo
service mongodb restart
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