Ensured phpstan config is properly loaded in Ci envs

This commit is contained in:
Alejandro Celaya 2017-12-28 15:07:14 +01:00
parent 88b9f9fc56
commit 745ff51150

View file

@ -21,7 +21,7 @@ before_script:
script:
- mkdir build
- composer check
- if [[ $TRAVIS_PHP_VERSION = 7.1 ]] || [[ $TRAVIS_PHP_VERSION = 7.2 ]]; then ~/.composer/vendor/bin/phpstan analyse module/*/src/ --level=5; fi
- if [[ $TRAVIS_PHP_VERSION = 7.1 ]] || [[ $TRAVIS_PHP_VERSION = 7.2 ]]; then ~/.composer/vendor/bin/phpstan analyse module/*/src/ --level=5 -c phpstan.neon; fi
after_script:
- vendor/bin/phpcov merge build --clover build/clover.xml