aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/http/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/http/.travis.yml')
-rw-r--r--vendor/sabre/http/.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/sabre/http/.travis.yml b/vendor/sabre/http/.travis.yml
index 3b85d5f39..daa24bff5 100644
--- a/vendor/sabre/http/.travis.yml
+++ b/vendor/sabre/http/.travis.yml
@@ -1,11 +1,10 @@
language: php
sudo: required
php:
- - 7.0
- 7.1
- 7.2
- 7.3
- - 7.4snapshot
+ - 7.4
env:
global:
@@ -26,7 +25,7 @@ cache:
- $HOME/.composer/cache
install:
- - if [ $RUN_PHPSTAN == "TRUE" ]; then composer require --dev phpstan/phpstan; fi
+ - if [ $RUN_PHPSTAN == "TRUE" ]; then composer require --dev phpstan/phpstan:^0.12; fi
before_script:
- composer update --prefer-source $PREFER_LOWEST
@@ -34,6 +33,7 @@ before_script:
- sudo $PHP_BIN -S localhost:80 -t $TRAVIS_BUILD_DIR/tests/www 2>/dev/null &
script:
+ - if [ $RUN_PHPSTAN == "FALSE" ]; then ./bin/php-cs-fixer fix --dry-run --diff; fi
- if [ $RUN_PHPSTAN == "FALSE" ]; then ./bin/phpunit --configuration tests/phpunit.xml $WITH_COVERAGE; fi
- if [ $RUN_PHPSTAN == "TRUE" ]; then php ./bin/phpstan analyse -c phpstan.neon lib; fi