File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ service_name : travis-ci
1
2
src_dir : ./libs/
2
3
coverage_clover : build/logs/clover.xml
3
4
json_path : build/logs/coveralls-upload.json
Original file line number Diff line number Diff line change @@ -17,9 +17,17 @@ matrix:
17
17
os :
18
18
- linux
19
19
20
+ install :
21
+ # Install composer packages, will also trigger dump-autoload
22
+ - composer install --no-interaction
23
+ # Install coveralls.phar
24
+ - wget -c -nc --retry-connrefused --tries=0 https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
25
+ - chmod +x coveralls.phar
26
+ - php coveralls.phar --version
27
+
20
28
before_script :
21
- - wget http://getcomposer.org/composer.phar
22
- - php composer.phar install --dev --no-interaction
29
+ - mkdir -p build/logs
30
+ - ls -al
23
31
24
32
script :
25
33
- mkdir -p build/logs
@@ -29,4 +37,9 @@ after_script:
29
37
- php vendor/bin/coveralls -v
30
38
31
39
after_success :
32
- - bash <(curl -s https://codecov.io/bash)
40
+ - travis_retry php coveralls.phar -v
41
+
42
+ cache :
43
+ directories :
44
+ - vendor
45
+ - $HOME/.cache/composer
You can’t perform that action at this time.
0 commit comments