Skip to content

Commit

Permalink
Added phpstan extension to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Dec 31, 2017
1 parent d5117ba commit 0adf3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ install:
- wget "https://phar.phpunit.de/phpunit-5.7.phar" --output-document="${HOME}/bin/phpunit" && chmod u+x "${HOME}/bin/phpunit"
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$TARGET" == "lint" ]; then gem install yaml-lint && composer global require --dev sllh/composer-lint --no-update; fi
- if [ "$TARGET" == "phpstan" ]; then composer global require --dev phpstan/phpstan:^0.9 --no-update; fi
- if [ "$TARGET" == "phpstan" ]; then composer global require --dev phpstan/phpstan phpstan/phpstan-phpunit --no-update; fi
- if [ "$TARGET" != "test" ]; then composer global update; fi
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

Expand Down

0 comments on commit 0adf3e0

Please sign in to comment.