1
0
mirror of synced 2025-02-10 01:09:26 +03:00

Merge pull request #6515 from lcobucci/use-updated-environment

Use the Travis' Trusty build environment
This commit is contained in:
Marco Pivetta 2017-06-23 11:33:15 +02:00 committed by GitHub
commit 95b30c1d40

View File

@ -1,3 +1,4 @@
dist: trusty
sudo: false sudo: false
language: php language: php
@ -17,6 +18,7 @@ before_script:
- composer install --prefer-source - composer install --prefer-source
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi; - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi; - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
- if [[ $DB == "mysql" || $DB == "mariadb" ]]; then mysql -e "CREATE SCHEMA doctrine_tests; GRANT ALL PRIVILEGES ON doctrine_tests.* to travis@'%'"; fi;
script: script:
- ENABLE_SECOND_LEVEL_CACHE=0 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml $PHPUNIT_FLAGS - ENABLE_SECOND_LEVEL_CACHE=0 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml $PHPUNIT_FLAGS