oauth2-server/.travis.yml

33 lines
562 B
YAML
Raw Normal View History

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