Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 79e07df

Browse files
committed
Merge branch 'hotfix/42'
Close #42
2 parents e78b53f + e3122b4 commit 79e07df

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@ sudo: false
22

33
language: php
44

5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
59
matrix:
610
fast_finish: true
711
include:
812
- php: 5.5
13+
env:
14+
- EXECUTE_CS_CHECK=true
915
- php: 5.6
1016
env:
1117
- EXECUTE_COVERAGE=true
12-
- EXECUTE_CS_CHECK=true
1318
- php: 7
1419
- php: hhvm
1520
allow_failures:
@@ -21,15 +26,16 @@ notifications:
2126

2227
before_install:
2328
- if [[ $EXECUTE_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
29+
- composer self-update
30+
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require --no-update satooshi/php-coveralls:dev-master ; fi
2431

2532
install:
26-
- composer install
33+
- travis_retry composer install --no-interaction --ignore-platform-reqs
2734

2835
script:
2936
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then ./vendor/bin/phpunit --coverage-clover clover.xml ; fi
3037
- if [[ $EXECUTE_COVERAGE != 'true' ]]; then ./vendor/bin/phpunit ; fi
3138
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/phpcs ; fi
3239

3340
after_script:
34-
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require satooshi/php-coveralls:dev-master ; fi
3541
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then ./vendor/bin/coveralls ; fi

0 commit comments

Comments
 (0)