streams/vendor/sabre/vobject/.travis.yml

32 lines
654 B
YAML
Raw Normal View History

language: php
php:
- 5.5
2014-04-12 17:13:37 +00:00
- 5.6
2017-03-16 00:42:06 +00:00
- 7.0
- 7.1
- 7.2
2019-04-09 01:35:23 +00:00
- 7.3
2020-01-31 04:02:59 +00:00
- 7.4
2014-04-12 17:13:37 +00:00
2019-04-09 01:35:23 +00:00
matrix:
fast_finish: true
allow_failures:
- php: 5.5
install:
2020-01-31 04:02:59 +00:00
- if [[ $TRAVIS_PHP_VERSION =~ ^7\.1|7\.2|7\.3|7\.4$ ]]; then wget https://github.com/phpstan/phpstan/releases/download/0.12.5/phpstan.phar; fi
before_script:
- composer install
2019-04-09 01:35:23 +00:00
script:
2020-01-31 04:02:59 +00:00
- if [[ $TRAVIS_PHP_VERSION =~ ^7\.1|7\.2|7\.3|7\.4$ ]]; then php phpstan.phar analyse -c phpstan.neon lib tests; fi
- ./bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml
2019-04-09 01:35:23 +00:00
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $HOME/.composer/cache