File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ language: php
22matrix :
33 include :
44 - php : 7.0
5- env : DEPENDENCIES=lowest
5+ env : DEPENDENCIES=lowest PHPSTAN=yes
66 - php : 7.0
7- env : DEPENDENCIES=highest
7+ env : DEPENDENCIES=highest PHPSTAN=yes
88 - php : 7.1
9- env : DEPENDENCIES=lowest
9+ env : DEPENDENCIES=lowest PHPSTAN=yes
1010 - php : 7.1
11- env : DEPENDENCIES=highest
11+ env : DEPENDENCIES=highest PHPSTAN=yes
1212 - php : master
13- env : DEPENDENCIES=lowest
13+ env : DEPENDENCIES=lowest PHPSTAN=no
1414 - php : master
15- env : DEPENDENCIES=highest
15+ env : DEPENDENCIES=highest PHPSTAN=no
1616cache :
1717 directories :
1818 - $HOME/.composer/cache
@@ -21,7 +21,8 @@ before_script:
2121 - if [ "${DEPENDENCIES}" = "lowest" ]; then composer update --prefer-lowest --prefer-dist --no-interaction --no-progress; fi;
2222 - if [ "${DEPENDENCIES}" = "highest" ]; then composer update --prefer-dist --no-interaction --no-progress; fi;
2323script :
24- - bin/phing
24+ - if [ "${PHPSTAN}" = "yes" ]; then bin/phing; fi;
25+ - if [ "${PHPSTAN}" = "no" ]; then bin/phing check-without-phpstan; fi;
2526after_script :
2627 - if [ "${TRAVIS_ALLOW_FAILURE}" = false ]; then
2728 wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
Original file line number Diff line number Diff line change 99 phpstan
1010 " />
1111
12+ <target name =" check-without-phpstan" depends ="
13+ composer,
14+ lint,
15+ cs,
16+ tests
17+ " />
18+
1219 <target name =" composer" >
1320 <exec
1421 executable=" composer"
You can’t perform that action at this time.
0 commit comments