Skip to content

Commit

Permalink
Add coveralls.io functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusgus01 committed Dec 1, 2018
1 parent 346c422 commit 06439f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 29 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ version: 2.0
my-steps: &steps
- checkout
- run: sudo pip install -r requirements.txt
- run: sudo pip install flake8 pytest
- run: sudo pip install flake8 pytest coveralls
- run: python --version ; pip --version ; pwd ; ls -l
# stop the build if there are Python syntax errors or undefined names
- run: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
#- run: pytest # test_s2gs test_replays
- run: python -m unittest discover test_s2gs
- run: python -m unittest discover test_replays
- run: coverage run --source sc2reader -m unittest discover test_s2gs
- run:
halt_build_on_fail: true
command: coverage run --source sc2reader --append -m unittest discover test_replays
- run: coveralls

jobs:
Python2:
Expand Down
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

0 comments on commit 06439f9

Please sign in to comment.