diff --git a/.travis.yml b/.travis.yml index e57ad4121..7f6e036a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ matrix: script: - vendor/bin/tester tests -s -c tests/php-unix.ini $coverageArgs - php temp/code-checker/src/code-checker.php --short-arrays --strict-types -i netteForms - - if [ $TRAVIS_PHP_VERSION == "7.1" ]; then grunt --gruntfile=tests/netteForms/Gruntfile.js test; fi + - if [ "$dependencies" ]; then grunt --gruntfile=tests/netteForms/Gruntfile.js test; fi after_failure: # Print *.actual content @@ -27,7 +27,7 @@ before_script: # Install Nette Tester & Code Checker - travis_retry composer update --no-interaction --prefer-dist $dependencies - travis_retry composer create-project nette/code-checker temp/code-checker ~2.8 --no-interaction - - if [ $TRAVIS_PHP_VERSION == "7.1" ]; then npm install -g grunt-cli; cd tests/netteForms; npm install; cd ../..; fi + - if [ "$dependencies" ]; then npm install -g grunt-cli; cd tests/netteForms; npm install; cd ../..; fi - if [ "$coverage" == "on" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi after_script: