2012-12-31 03:01:19 +05:30
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.4
|
2013-08-08 18:55:17 +05:30
|
|
|
- 5.5
|
2014-02-11 22:57:35 +05:30
|
|
|
- 5.6
|
2013-12-19 18:02:09 +05:30
|
|
|
- hhvm
|
2014-01-16 22:23:44 +05:30
|
|
|
|
2014-01-16 22:39:51 +05:30
|
|
|
before_script:
|
2014-08-31 21:19:10 +05:30
|
|
|
- travis_retry composer self-update
|
|
|
|
- travis_retry composer install --no-interaction --prefer-source --dev
|
2014-05-09 15:35:37 +05:30
|
|
|
- cd examples/relational && composer install --prefer-dist
|
2014-05-09 15:28:15 +05:30
|
|
|
- php config/init.php
|
|
|
|
- php -S localhost:8000 &
|
2014-05-09 15:23:33 +05:30
|
|
|
- sleep 3
|
2014-05-09 15:32:17 +05:30
|
|
|
- cd ../..
|
2014-05-03 15:48:09 +05:30
|
|
|
|
|
|
|
script:
|
|
|
|
- mkdir -p build/logs
|
2014-10-01 03:37:00 +05:30
|
|
|
- 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
|