[Travis] Fixed command for non code coverage test.

This commit is contained in:
Jan Böhmer 2020-01-09 14:27:57 +01:00
parent bf8b0a4b31
commit 935b8ade31

View file

@ -29,7 +29,7 @@ install:
script: script:
# Only run code coverage on PHP 7.2 to improve performance (code coverage is slower than normal testing) # Only run code coverage on PHP 7.2 to improve performance (code coverage is slower than normal testing)
- if [[ $(phpenv version-name) == '7.2' ]]; then php bin/phpunit --coverage-clover=coverage.xml ; fi - if [[ $(phpenv version-name) == '7.2' ]]; then php bin/phpunit --coverage-clover=coverage.xml ; fi
- if [[ $(phpenv version-name) != '7.2' ]]; then vendor/bin/phpunit ; fi - if [[ $(phpenv version-name) != '7.2' ]]; then php bin/phpunit ; fi
# Perform some simple linting if everything is correct # Perform some simple linting if everything is correct
- ./bin/console lint:yaml config --parse-tags - ./bin/console lint:yaml config --parse-tags