Skip to content

Commit

Permalink
.circleci: submit coverage to coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-shawley committed Mar 8, 2018
1 parent 592e8eb commit f85872a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
at: ~/ietfparse/tmp
- run: |
mkdir build
sudo pip install -r test-requirements.txt -r requirements.txt
sudo pip install -r test-requirements.txt -r requirements.txt coveralls
nosetests --with-coverage --cover-xml --cover-xml-file coverage.xml --with-xunit --xunit-file nosetests.xml
./tmp/cc-test-reporter format-coverage -t coverage.py -o tmp/python2-coverage.json
coveralls
- persist_to_workspace:
root: tmp
paths:
Expand All @@ -44,9 +45,10 @@ jobs:
at: ~/ietfparse/tmp
- run: |
mkdir build
sudo pip install -r test-requirements.txt -r requirements.txt
sudo pip install -r test-requirements.txt -r requirements.txt coveralls
nosetests --with-coverage --cover-xml --cover-xml-file coverage.xml --with-xunit --xunit-file nosetests.xml
./tmp/cc-test-reporter format-coverage -t coverage.py -o tmp/python3-coverage.json
coveralls
- persist_to_workspace:
root: tmp
paths:
Expand Down

0 comments on commit f85872a

Please sign in to comment.