Skip to content

Commit 372416d

Browse files
committed
Update travis configuration
1 parent 1217342 commit 372416d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ cache:
55
- $HOME/.composer/cache
66

77
php:
8-
- 5.5
9-
- 5.6
10-
- 7.0
118
- 7.1
129
- nightly
1310
- hhvm
@@ -19,8 +16,9 @@ matrix:
1916

2017
install:
2118
- export PATH="$PATH:$HOME/.composer/vendor/bin"
22-
- composer global require friendsofphp/php-cs-fixer "^2.0.0@dev"
23-
- composer global require satooshi/php-coveralls "^1.0.0"
19+
- composer global require friendsofphp/php-cs-fixer ^2.0.0
20+
- composer global require phpstan/phpstan ^0.6.0
21+
- composer global require satooshi/php-coveralls ^1.0.0
2422
- composer update --no-interaction
2523

2624
before_script:
@@ -29,6 +27,7 @@ before_script:
2927

3028
script:
3129
- php-cs-fixer fix --dry-run
30+
- phpstan analyse --level=4 --configuration=phpstan.neon src tests
3231
- vendor/bin/codecept run $coverage
3332

3433
after_success:

0 commit comments

Comments
 (0)