Skip to content

Commit

Permalink
Merge e83b000 into 6f93296
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolyunya committed Aug 17, 2020
2 parents 6f93296 + e83b000 commit 4c10769
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
27 changes: 21 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
dist: trusty
dist: bionic
language: php
matrix:
include:
-
dist: trusty
php: '5.4'
env:
- ANALYZE=false
-
dist: trusty
php: '5.5'
env:
- ANALYZE=false
-
dist: trusty
php: '5.6'
env:
- ANALYZE=false
Expand All @@ -30,24 +33,36 @@ matrix:
php: '7.3'
env:
- ANALYZE=true
-
php: '7.4'
env:
- ANALYZE=true
# https://github.com/travis-ci/travis-ci/issues/6339
# https://github.com/travis-ci/travis-ci/issues/8912
allow_failures:
# https://github.com/travis-ci/travis-ci/issues/6339
-
php: '5.4'
env:
- ANALYZE=false
-
php: '5.5'
env:
- ANALYZE=false
-
php: '5.6'
env:
- ANALYZE=false
before_script:
- export COMPOSER_MEMORY_LIMIT=-1
- composer self-update
- composer update
script:
- vendor/bin/phpunit --version
- vendor/bin/phpunit tests
- vendor/bin/php-cs-fixer --version
- vendor/bin/php-cs-fixer fix --dry-run --verbose
- if [ "$ANALYZE" = "true" ]; then composer global require phpstan/phpstan; fi;
- if [ "$ANALYZE" = "true" ]; then export PATH=~/.config/composer/vendor/bin:$PATH; fi;
- if [ "$ANALYZE" = "true" ]; then phpstan --version; fi;
- if [ "$ANALYZE" = "true" ]; then phpstan analyze sources --configuration=phpstan-sources.neon --level=5; fi;
- if [ "$ANALYZE" = "true" ]; then phpstan analyze tests --configuration=phpstan-tests.neon --level=1; fi;
- if [ "$ANALYZE" = "true" ]; then phpstan analyze sources --level=5; fi;
- if [ "$ANALYZE" = "true" ]; then phpstan analyze tests --level=1; fi;
after_success:
- travis_retry vendor/bin/coveralls
2 changes: 0 additions & 2 deletions phpstan-sources.neon

This file was deleted.

2 changes: 0 additions & 2 deletions phpstan-tests.neon

This file was deleted.

0 comments on commit 4c10769

Please sign in to comment.