oauth2-server/.travis.yml

33 lines
741 B
YAML
Raw Normal View History

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
- php config/init.php
- php -S localhost:8000 &
- sleep 3
2014-05-09 15:32:17 +05:30
- cd ../..
2014-05-10 16:30:15 +05:30
- wget http://codeception.com/codecept.phar
- mkdir tests/codecept/tests/_log
- chmod -R 777 tests/codecept/tests/_log
2014-05-03 15:48:09 +05:30
script:
- mkdir -p build/logs
- phpunit --coverage-text
2014-05-10 16:30:15 +05:30
- php codecept.phar run api -c tests/codecept/codeception.yml
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