Skip to content

Commit

Permalink
Merge branch 'feature/travis-phpstan-build' of https://github.com/jrf…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Aug 31, 2020
2 parents 1024264 + db202d9 commit 48d5bae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
apt:
packages:
- libonig-dev
script:
- composer require --dev phpstan/phpstan
- php vendor/bin/phpstan analyse --configuration=phpstan.neon

# Nightly is PHP 8.0 since Feb 2019.
- php: nightly
addons:
Expand Down Expand Up @@ -83,5 +87,3 @@ script:
- if [[ $XMLLINT == "1" ]]; then diff -B ./src/Standards/PSR12/ruleset.xml <(xmllint --format "./src/Standards/PSR12/ruleset.xml"); fi
- if [[ $XMLLINT == "1" ]]; then diff -B ./src/Standards/Squiz/ruleset.xml <(xmllint --format "./src/Standards/Squiz/ruleset.xml"); fi
- if [[ $XMLLINT == "1" ]]; then diff -B ./src/Standards/Zend/ruleset.xml <(xmllint --format "./src/Standards/Zend/ruleset.xml"); fi
# Run PHPStan
- if [[ $PHPSTAN == "1" ]]; then composer require --dev phpstan/phpstan && php vendor/bin/phpstan analyse --configuration=phpstan.neon; fi

0 comments on commit 48d5bae

Please sign in to comment.