Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add coveralls.io functionality.
  • Loading branch information
Gusgus01 committed Dec 1, 2018
commit 06439f9e4e1b4dc1481491ef9c90109aa0211dc9
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.