We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91452da commit 9144a77Copy full SHA for 9144a77
1 file changed
.travis.yml
@@ -13,6 +13,9 @@ os:
13
- linux
14
15
matrix:
16
+ include:
17
+ - php: 7.2
18
+ env: STATIC_ANALYSIS=true
19
fast_finish: true
20
allow_failures:
21
- env: VALIDATION=true
@@ -22,6 +25,7 @@ cache:
22
25
- validation/frameworks
23
26
24
27
before_script:
28
+ - if [[ $STATIC_ANALYSIS = true ]]; then composer require phpstan/phpstan --no-update; fi
29
- composer install
30
- set -e # Stop on first error.
31
- phpenv config-rm xdebug.ini
@@ -30,7 +34,7 @@ before_script:
34
35
script:
32
36
- composer validate
33
- - ./vendor/bin/phpstan analyse src --level=2
37
+ - if [[ $STATIC_ANALYSIS = true ]]; then ./vendor/bin/phpstan analyse src --level=2; fi
38
- |
39
if [[ $VALIDATION = true ]]; then
40
./vendor/bin/phpunit --testsuite validation
0 commit comments