diff options
author | Steffen Lindner <mail@steffen-lindner.de> | 2017-03-27 15:04:33 +0300 |
---|---|---|
committer | Steffen Lindner <mail@steffen-lindner.de> | 2017-03-27 15:04:33 +0300 |
commit | 534555c10dfbb0a7b04b66713032e87eed5740b9 (patch) | |
tree | f54ae17704d0f2f6ffc41ef32aba9672cd982aea /.travis.yml | |
parent | 0430fca8288d51e59a8f839d0891e2e8a28aa95c (diff) |
Manually download phpunit 5.7 on travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 6a8250b2a..031eb1dec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,10 @@ cache: before_install: - php --info + # Download phpunit 5.7 + - wget https://phar.phpunit.de/phpunit-5.7.phar -O phpunit + - chmod u+x phpunit + # Set up DB - if [[ "$DB" == 'pgsql' ]]; then createuser -U travis -s oc_autotest; fi - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'create database oc_autotest;'; fi @@ -96,7 +100,7 @@ script: # Run PHP tests - cd tests - - phpunit --configuration phpunit.xml + - ../phpunit --configuration phpunit.xml - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover |