File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: php
33env :
44 global :
55 - PHPCS=0
6-
6+ - RUN_TESTS=1
77
88php :
99 - 5.4
@@ -21,14 +21,14 @@ matrix:
2121 - php : 5.4
2222 env : ' COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
2323 - php : 5.6
24- env : PHPCS=1
24+ env : PHPCS=1 RUN_TESTS=0
2525
2626before_script :
2727 - travis_retry composer self-update
2828 - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
2929
3030script :
31- - phpunit --coverage-text --coverage-clover=coverage.clover
31+ - sh -c "if [ '$RUN_TESTS' = '1' ]; then phpunit --coverage-text --coverage-clover=coverage.clover; fi"
3232 - sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p -n --extensions=php --standard=psr2 ./src ./tests; fi"
3333
3434after_script :
You can’t perform that action at this time.
0 commit comments