mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
30 lines
594 B
YAML
30 lines
594 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- hhvm
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm
|
|
|
|
before_script:
|
|
- composer self-update
|
|
- composer require satooshi/php-coveralls:dev-master --no-update --dev
|
|
- composer install --prefer-dist
|
|
- cd examples/relational && composer install --prefer-dist
|
|
- php config/init.php
|
|
- php -S localhost:8000 &
|
|
- sleep 3
|
|
- cd ../..
|
|
|
|
script:
|
|
- mkdir -p build/logs
|
|
- phpunit --coverage-text
|
|
- ./vendor/bin/codecept run resourceServer -d
|
|
- ./vendor/bin/phpcs src --standard=psr2
|
|
|
|
after_script:
|
|
- php vendor/bin/coveralls |