Commit 802c3845 by Carsten Brandt

let travis show some information on versions

parent 9ff9cab6
...@@ -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
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment