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, 6 insertions, 19 deletions
diff --git a/vendor/sabre/vobject/.travis.yml b/vendor/sabre/vobject/.travis.yml
index 64b055bf1..511119bbb 100644
--- a/vendor/sabre/vobject/.travis.yml
+++ b/vendor/sabre/vobject/.travis.yml
@@ -1,37 +1,24 @@
language: php
-sudo: required
php:
- - 5.5
- - 5.6
- - 7.0
- 7.1
- 7.2
- 7.3
- - 7.4snapshot
-
-env:
- global:
- - RUN_PHPSTAN="FALSE"
+ - 7.4
matrix:
- include:
- - name: 'PHPStan'
- php: 7.2
- env: RUN_PHPSTAN="TRUE"
fast_finish: true
- allow_failures:
- - php: 5.5
install:
- - if [ $RUN_PHPSTAN == "TRUE" ]; then wget https://github.com/phpstan/phpstan/releases/download/0.11.8/phpstan.phar; fi
+ - composer require --dev phpstan/phpstan:^0.12
before_script:
- composer install
script:
- - 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
-
+ - ./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
+
after_success:
- bash <(curl -s https://codecov.io/bash)