aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/vobject/.travis.yml')
-rw-r--r--vendor/sabre/vobject/.travis.yml25
1 files changed, 19 insertions, 6 deletions
diff --git a/vendor/sabre/vobject/.travis.yml b/vendor/sabre/vobject/.travis.yml
index 511119bbb..64b055bf1 100644
--- a/vendor/sabre/vobject/.travis.yml
+++ b/vendor/sabre/vobject/.travis.yml
@@ -1,24 +1,37 @@
language: php
+sudo: required
php:
+ - 5.5
+ - 5.6
+ - 7.0
- 7.1
- 7.2
- 7.3
- - 7.4
+ - 7.4snapshot
+
+env:
+ global:
+ - RUN_PHPSTAN="FALSE"
matrix:
+ include:
+ - name: 'PHPStan'
+ php: 7.2
+ env: RUN_PHPSTAN="TRUE"
fast_finish: true
+ allow_failures:
+ - php: 5.5
install:
- - composer require --dev phpstan/phpstan:^0.12
+ - if [ $RUN_PHPSTAN == "TRUE" ]; then wget https://github.com/phpstan/phpstan/releases/download/0.11.8/phpstan.phar; fi
before_script:
- composer install
script:
- - ./bin/php-cs-fixer fix lib/ --dry-run --diff
- - php ./bin/phpstan.phar analyse -c phpstan.neon lib tests
- - ./bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml
-
+ - if [ $RUN_PHPSTAN == "FALSE" ]; then ./bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml; fi
+ - if [ $RUN_PHPSTAN == "TRUE" ]; then php phpstan.phar analyse -c phpstan.neon lib; fi
+
after_success:
- bash <(curl -s https://codecov.io/bash)