Skip to content
Snippets Groups Projects
Commit c5c0cb10 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #343 from nextcloud/pin_phpunit

 Manually download phpunit 5.7 on travis
parents 0430fca8 534555c1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment