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-12 09:57:58 +00:00
|
|
|
- 5.6
|
2014-01-16 16:53:44 +00:00
|
|
|
- hhvm
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: hhvm
|
2012-12-30 21:31:19 +00:00
|
|
|
|
2014-01-16 17:09:51 +00:00
|
|
|
before_script:
|
|
|
|
- composer self-update
|
2014-05-03 11:18:09 +01:00
|
|
|
- composer require satooshi/php-coveralls:dev-master --no-update --dev
|
2014-05-09 11:05:37 +01:00
|
|
|
- composer install --prefer-dist
|
|
|
|
- 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-10 12:00:15 +01:00
|
|
|
- wget http://codeception.com/codecept.phar
|
2014-05-10 12:07:33 +01:00
|
|
|
- mkdir tests/codecept/tests/_log
|
|
|
|
- chmod -R 777 tests/codecept/tests/_log
|
2014-05-03 11:18:09 +01:00
|
|
|
|
|
|
|
script:
|
|
|
|
- mkdir -p build/logs
|
|
|
|
- phpunit --coverage-text
|
2014-05-10 12:00:15 +01:00
|
|
|
- php codecept.phar run api -c tests/codecept/codeception.yml
|
2014-05-03 11:18:09 +01:00
|
|
|
- ./vendor/bin/phpcs src --standard=psr2
|
|
|
|
|
|
|
|
after_script:
|
2014-05-03 11:21:05 +01:00
|
|
|
- php vendor/bin/coveralls
|