Only run coverage on merges/pushes to master (#1783)

This commit is contained in:
Ethan Koenig 2017-05-24 12:13:18 -04:00 committed by Bo-Yi Wu
parent 19d889daa2
commit ff96bda138
2 changed files with 7 additions and 1 deletions

View file

@ -73,8 +73,10 @@ pipeline:
coverage:
image: plugins/coverage
server: https://coverage.gitea.io
commands:
- make test-coverage
when:
event: [ push, tag, pull_request ]
event: [ push, tag ]
docker:
image: plugins/docker