2012-12-30 21:31:19 +00:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.4
|
2013-08-08 09:25:17 -04:00
|
|
|
- 5.5
|
2014-02-11 12:27:35 -05:00
|
|
|
- 5.6
|
2013-12-19 12:32:09 +00:00
|
|
|
- hhvm
|
2014-01-16 16:53:44 +00:00
|
|
|
|
2013-12-23 23:39:49 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: hhvm
|
2012-12-30 21:31:19 +00:00
|
|
|
|
2014-01-16 17:09:51 +00:00
|
|
|
before_script:
|
2014-08-31 16:49:10 +01:00
|
|
|
- travis_retry composer self-update
|
|
|
|
- travis_retry composer install --no-interaction --prefer-source --dev
|
2014-05-09 11:05:37 +01:00
|
|
|
- cd examples/relational && composer install --prefer-dist
|
2014-05-09 10:58:15 +01:00
|
|
|
- php config/init.php
|
|
|
|
- php -S localhost:8000 &
|
2014-05-09 10:53:33 +01:00
|
|
|
- sleep 3
|
2014-05-09 11:02:17 +01:00
|
|
|
- cd ../..
|
2014-05-03 11:18:09 +01:00
|
|
|
|
|
|
|
script:
|
|
|
|
- mkdir -p build/logs
|
2014-09-30 23:07:00 +01:00
|
|
|
- phpunit --coverage-text --verbose --coverage-clover=coverage.clover
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
|
|
|
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|