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
802c3845
Commit
802c3845
authored
Jan 10, 2015
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
let travis show some information on versions
parent
9ff9cab6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
.travis.yml
.travis.yml
+7
-3
mongodb-setup.sh
tests/unit/data/travis/mongodb-setup.sh
+2
-2
No files found.
.travis.yml
View file @
802c3845
...
@@ -45,18 +45,22 @@ install:
...
@@ -45,18 +45,22 @@ install:
-
travis_retry composer install --prefer-dist --no-interaction
-
travis_retry composer install --prefer-dist --no-interaction
-
tests/unit/data/travis/mongodb-setup.sh
-
tests/unit/data/travis/mongodb-setup.sh
# TODO: APC currently fails composer. https://github.com/composer/composer/issues/3405
# TODO: APC currently fails composer. https://github.com/composer/composer/issues/3405
#
- tests/unit/data/travis/apc-setup.sh
-
tests/unit/data/travis/apc-setup.sh
-
tests/unit/data/travis/memcache-setup.sh
-
tests/unit/data/travis/memcache-setup.sh
-
tests/unit/data/travis/cubrid-setup.sh
-
tests/unit/data/travis/cubrid-setup.sh
# print elasticsearch version
-
curl http://localhost:9200
# codeception
# codeception
-
travis_retry composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
-
travis_retry composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
# basic and advanced application:
# basic and advanced application:
-
tests/unit/data/travis/setup-apps.sh
-
tests/unit/data/travis/setup-apps.sh
before_script
:
before_script
:
# show some versions and env information
-
echo 'elasticsearch version ' && curl http://localhost:9200/
-
echo 'elasticsearch version ' && curl http://localhost:9200/
-
php -r "echo INTL_ICU_VERSION;"
-
mysql --version
-
psql --version
# initialize databases
-
mysql -e 'CREATE DATABASE yiitest;';
-
mysql -e 'CREATE DATABASE yiitest;';
-
psql -U postgres -c 'CREATE DATABASE yiitest;';
-
psql -U postgres -c 'CREATE DATABASE yiitest;';
-
tests/unit/data/travis/sphinx-setup.sh
-
tests/unit/data/travis/sphinx-setup.sh
...
...
tests/unit/data/travis/mongodb-setup.sh
View file @
802c3845
...
@@ -9,10 +9,10 @@ else
...
@@ -9,10 +9,10 @@ else
echo
"extension = mongo.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
echo
"extension = mongo.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
fi
fi
# show mongodb version
echo
"MongoDB Server version:"
mongod
--version
mongod
--version
# show mongo PHP extension version
echo
"MongoDB PHP Extension version:"
php
-i
|grep mongo
-4
|grep
-2
Version
php
-i
|grep mongo
-4
|grep
-2
Version
# enable text search
# enable text search
...
...
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