Skip to content

Commit 92b9cef

Browse files
committed
Add coveralls.io functionality.
1 parent e58e8e5 commit 92b9cef

File tree

2 files changed

+6
-29
lines changed

2 files changed

+6
-29
lines changed

.circleci/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@ version: 2.0
33
my-steps: &steps
44
- checkout
55
- run: sudo pip install -r requirements.txt
6-
- run: sudo pip install flake8 pytest
6+
- run: sudo pip install flake8 pytest coveralls
77
- run: python --version ; pip --version ; pwd ; ls -l
88
# stop the build if there are Python syntax errors or undefined names
99
- run: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
1010
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
1111
- run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
1212
#- run: pytest # test_s2gs test_replays
13-
- run: python -m unittest discover test_s2gs
14-
- run: python -m unittest discover test_replays
13+
- run: coverage run --source sc2reader -m unittest discover test_s2gs
14+
- run:
15+
halt_build_on_fail: true
16+
command: coverage run --source sc2reader --append -m unittest discover test_replays
17+
- run: coveralls
1518

1619
jobs:
1720
Python2:

.travis.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)