Skip to content

Commit f460134

Browse files
authored
Merge pull request #131 from l0gicgate/3.x-FixTravisConfig
3.x - Fix Travis Config To Speed Up Builds
2 parents 7aa52fc + 018bfd3 commit f460134

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ matrix:
1313
- php: nightly
1414

1515
before_script:
16-
- composer require php-coveralls/php-coveralls:^2.1.0
16+
- if [[ "$ANALYSIS" == 'true' ]]; then composer require php-coveralls/php-coveralls:^2.1.0 ; fi
1717
- composer install -n
1818

1919
script:
20+
- if [[ "$ANALYSIS" != 'true' ]]; then vendor/bin/phpunit ; fi
2021
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi
2122

2223
after_success:

0 commit comments

Comments
 (0)