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

Commit 4988cd0

Browse files
committed
Move coverage reporting to master only
1 parent 30cf045 commit 4988cd0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

circle.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ dependencies:
1212
test:
1313
post:
1414
- php vendor/bin/phpunit --coverage-clover build/coverage/xml tests
15-
- php bin/codacycoverage clover build/coverage/xml
1615

1716
deployment:
17+
master:
18+
branch: master
19+
commands:
20+
- php bin/codacycoverage clover build/coverage/xml
1821
release:
1922
tag: /[0-9]+(\.[0-9]+)*/
2023
commands:
2124
- php -d phar.readonly=0 box.phar build
2225
- git config user.name $CIRCLE_PROJECT_USERNAME
23-
- github-release upload --user $CIRCLE_PROJECT_USERNAME --repo $CIRCLE_PROJECT_REPONAME --tag $CIRCLE_TAG --name codacy-coverage.phar --file build/codacy-coverage.phar
26+
- github-release upload --user $CIRCLE_PROJECT_USERNAME --repo $CIRCLE_PROJECT_REPONAME --tag $CIRCLE_TAG --name codacy-coverage.phar --file build/codacy-coverage.phar

0 commit comments

Comments
 (0)