Skip to content

Commit c256535

Browse files
committed
Fix travis configuration
1 parent dc24c76 commit c256535

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ matrix:
1717

1818
install:
1919
- export PATH="$PATH:$HOME/.composer/vendor/bin"
20-
- if php -v | grep -q 'PHP 7'; then composer tools; fi
20+
- composer tools
2121
- composer global require satooshi/php-coveralls ^1.0.0
2222
- composer update --no-interaction
2323

@@ -27,8 +27,8 @@ before_script:
2727

2828
script:
2929
- "! (composer outdated --direct | grep ^)"
30-
- if php -v | grep -q 'PHP 7'; then vendor-tools/bin/php-cs-fixer fix --dry-run; fi
31-
- if php -v | grep -q 'PHP 7'; then vendor-tools/bin/phpstan analyse --level=4 --configuration=phpstan.neon src tests; fi
30+
- vendor-tools/bin/php-cs-fixer fix --dry-run
31+
- vendor-tools/bin/phpstan analyse --level=5 --configuration=phpstan.neon src tests
3232
- vendor/bin/codecept run $coverage
3333

3434
after_success:

0 commit comments

Comments
 (0)