Use phpunit from composer download

This commit is contained in:
Kienan Stewart 2018-04-15 21:45:18 -04:00
parent 5597184a37
commit 60ce1fd1df
1 changed files with 1 additions and 2 deletions

View File

@ -7,12 +7,11 @@ php:
- 5.5
- 5.4
- 5.3
script: phpunit --coverage-clover=coverage.clover
script: ../vendor/bin/phpunit --coverage-clover=coverage.clover
before_script:
- composer require phpunit/dbunit
- mysql -e 'create database alternc_test DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
- cd phpunit
- which phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover