Skip to content

Commit e380069

Browse files
Merge pull request #91 from szepeviktor/patch-1
WIP: Let's see phpstan in CI
2 parents ca4f618 + f5420c7 commit e380069

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ matrix:
5555
- php: "hhvm"
5656

5757
install:
58-
- composer self-update
5958
- if [[ $USE_PSALM -eq 1 ]]; then composer require --dev "vimeo/psalm:^1|^2"; fi
6059
- composer update
60+
- if [[ ${TRAVIS_PHP_VERSION:0:3} == 7.3 ]]; then composer require --dev "phpstan/phpstan:^0.11.5"; fi
6161

6262
script:
63+
- if [[ ${TRAVIS_PHP_VERSION:0:3} == 7.3 ]]; then vendor/bin/phpstan analyze; fi
6364
- travis_wait 30 vendor/bin/phpunit
6465
- if [[ $CHECK_MBSTRING -eq 1 ]]; then travis_wait 30 php -dmbstring.func_overload=7 vendor/bin/phpunit; fi
6566
- vendor/bin/phpunit --bootstrap autoload-fast.php

0 commit comments

Comments
 (0)