oauth2-server/.travis.yml

33 lines
562 B
YAML
Raw Permalink Normal View History

2012-12-30 21:31:19 +00:00
language: php
dist: trusty
2015-03-22 23:19:36 +00:00
sudo: false
cache:
directories:
- vendor
env:
- DEPENDENCIES=""
- DEPENDENCIES="--prefer-lowest --prefer-stable"
2015-03-22 23:19:36 +00:00
2012-12-30 21:31:19 +00:00
php:
2015-03-03 22:00:47 +00:00
- 7.0
2016-10-16 16:48:44 +01:00
- 7.1
2017-11-30 23:52:50 -02:00
- 7.2
2014-01-16 16:53:44 +00:00
2014-11-08 18:36:59 +00:00
install:
- composer update --no-interaction --prefer-dist $DEPENDENCIES
2014-05-03 11:18:09 +01:00
script:
2018-02-18 15:33:41 +00:00
- vendor/bin/phpunit --coverage-clover=coverage.clover
2018-02-18 21:17:32 +01:00
- vendor/bin/phpstan analyse -l 7 -c phpstan.neon src tests
2015-04-05 18:21:57 +01:00
2018-02-18 15:33:41 +00:00
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
2014-12-11 14:25:35 +00:00
branches:
only:
2016-10-16 16:48:44 +01:00
- master