We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d97fe4e commit 745fee2Copy full SHA for 745fee2
.travis.yml
@@ -5,11 +5,17 @@ sudo: false
5
php:
6
- 5.6
7
- 7.0
8
- - 7.1
+
9
+matrix:
10
+ include:
11
+ - php: 7.1
12
+ env: STATIC_ANALYSIS=yes
13
14
before_script:
15
- travis_retry composer self-update
16
- travis_retry composer install --no-interaction --prefer-source
17
+ - if [ "$STATIC_ANALYSIS" != "" ]; then curl -L https://github.com/phpstan/phpstan/releases/download/0.8/phpstan.phar -o phpstan.phar; fi;
18
19
script:
20
- vendor/bin/phpunit --verbose --coverage-text
21
+ - if [ "$STATIC_ANALYSIS" != "" ]; then php phpstan.phar analyse --level=4 lib; fi;
0 commit comments