Skip to content

Commit ee554f2

Browse files
committed
Collect code coverage reports
1 parent 478bec1 commit ee554f2

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

circle.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,19 @@ machine:
33
- docker
44
python:
55
version: 2.7
6+
environment:
7+
COVERALLS_REPO_TOKEN: RDQpf8yX7quK5FXKN2auJpAxFNlIByLiT
8+
9+
10+
dependencies:
11+
pre:
12+
- pip install --use-mirrors coverage python-coveralls
613

714
test:
815
override:
916
- mkdir test_dir
10-
- cd test_dir && ../ctf-cli.py init
11-
- cd test_dir && ../ctf-cli.py update
12-
- cd test_dir && ../ctf-cli.py run
17+
- cd test_dir && COVERAGE_FILE=../.coverage.init coverage run ../ctf-cli.py init
18+
- cd test_dir && COVERAGE_FILE=../.coverage.update coverage run ../ctf-cli.py update
19+
- cd test_dir && COVERAGE_FILE=../.coverage.run coverage run ../ctf-cli.py run
20+
- coverage combine
21+
- coveralls

0 commit comments

Comments
 (0)