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-12 15:27:58 +05:30
|
|
|
- 5.6
|
2014-01-16 22:23:44 +05:30
|
|
|
- hhvm
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: hhvm
|
2012-12-31 03:01:19 +05:30
|
|
|
|
2014-01-16 22:39:51 +05:30
|
|
|
before_script:
|
|
|
|
- composer self-update
|
2014-05-03 15:48:09 +05:30
|
|
|
- composer require satooshi/php-coveralls:dev-master --no-update --dev
|
2014-05-09 15:35:37 +05:30
|
|
|
- composer install --prefer-dist
|
|
|
|
- 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
|
|
|
|
- phpunit --coverage-text
|
2014-07-22 15:28:15 +05:30
|
|
|
- ./vendor/bin/codecept run api -d
|
2014-05-03 15:48:09 +05:30
|
|
|
- ./vendor/bin/phpcs src --standard=psr2
|
|
|
|
|
|
|
|
after_script:
|
2014-05-03 15:51:05 +05:30
|
|
|
- php vendor/bin/coveralls
|