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
3
3
env :
4
4
global :
5
5
- PHPCS=0
6
-
6
+ - RUN_TESTS=1
7
7
8
8
php :
9
9
- 5.4
@@ -21,14 +21,14 @@ matrix:
21
21
- php : 5.4
22
22
env : ' COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
23
23
- php : 5.6
24
- env : PHPCS=1
24
+ env : PHPCS=1 RUN_TESTS=0
25
25
26
26
before_script :
27
27
- travis_retry composer self-update
28
28
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
29
29
30
30
script :
31
- - phpunit --coverage-text --coverage-clover=coverage.clover
31
+ - sh -c "if [ '$RUN_TESTS' = '1' ]; then phpunit --coverage-text --coverage-clover=coverage.clover; fi"
32
32
- sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p -n --extensions=php --standard=psr2 ./src ./tests; fi"
33
33
34
34
after_script :
You can’t perform that action at this time.
0 commit comments