oauth2-server/.travis.yml

28 lines
573 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-01-16 22:39:51 +05:30
- composer install --prefer-source
- cd examples/relational && composer install
- cd examples/relational && php config/init.php
- php -S localhost:8000 examples/relational/api.php &
- sleep 3
2014-05-03 15:48:09 +05:30
script:
- mkdir -p build/logs
- phpunit --coverage-text
- ./vendor/bin/phpcs src --standard=psr2
after_script:
2014-05-03 15:51:05 +05:30
- php vendor/bin/coveralls