Skip to content
This repository was archived by the owner on Feb 6, 2021. It is now read-only.

Commit f9bfe09

Browse files
committed
Updating coveralls to travis-ci
1 parent 6ff3e68 commit f9bfe09

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.cloveralls.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Set folder to clover (must be the same on travis)
2+
coverage_clover: build/logs/clover.xml
3+
# Same folder here
4+
json_path: build/logs/coveralls-upload.json
5+
# Don't touch that
6+
service_name: travis-ci

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ env:
1212
before_script:
1313
- composer self-update
1414
- composer update --prefer-dist $DEPENDENCIES
15+
- mkdir -p ./build/logs
1516

1617
script:
1718
- ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml --exclude-group Functional
1819
- ./vendor/bin/phpunit --group=Functional
1920
- ./vendor/bin/phpcs --standard=PSR2 ./src/
2021

21-
after_script:
22-
- php vendor/bin/coveralls -v
22+
after_success:
23+
- travis_retry ./vendor/bin/php-coveralls -v
2324

2425
notifications:
2526
irc: "irc.freenode.org#zftalk.modules"

0 commit comments

Comments
 (0)