diff --git a/.travis.yml b/.travis.yml index 275ebfb2ee6274ad170b86151918b908d68bdc74..2d32fc288d859633d529339d7554f0c01ce799ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ env: - TEST_SUITE=unit - TEST_SUITE=integration INTEGRATION_INDEX=1 - TEST_SUITE=integration INTEGRATION_INDEX=2 - - TEST_SUITE=static TEST_FILTER='--filter "Magento\\Test\\Php\\LiveCodeTest"' + - TEST_SUITE=static cache: apt: true directories: $HOME/.composer/cache @@ -33,4 +33,7 @@ matrix: before_install: ./dev/travis/before_install.sh install: composer install --no-interaction --prefer-dist before_script: ./dev/travis/before_script.sh -script: cd dev/tests/$TEST_SUITE && phpunit $TEST_FILTER +script: + - cd dev/tests/$TEST_SUITE + - test $TEST_SUITE = "static" && TEST_FILTER='--filter "Magento\\Test\\Php\\LiveCodeTest"' || true + - phpunit $TEST_FILTER