Use phpunit from composer download
This commit is contained in:
parent
5597184a37
commit
60ce1fd1df
|
@ -7,12 +7,11 @@ php:
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.3
|
- 5.3
|
||||||
script: phpunit --coverage-clover=coverage.clover
|
script: ../vendor/bin/phpunit --coverage-clover=coverage.clover
|
||||||
before_script:
|
before_script:
|
||||||
- composer require phpunit/dbunit
|
- composer require phpunit/dbunit
|
||||||
- mysql -e 'create database alternc_test DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
|
- mysql -e 'create database alternc_test DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
|
||||||
- cd phpunit
|
- cd phpunit
|
||||||
- which phpunit
|
|
||||||
after_script:
|
after_script:
|
||||||
- wget https://scrutinizer-ci.com/ocular.phar
|
- wget https://scrutinizer-ci.com/ocular.phar
|
||||||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
||||||
|
|
Loading…
Reference in New Issue