Skip to content

Commit 40fa291

Browse files
beyoungDavid Cooper
authored andcommitted
Add travis ci and coverage script
1 parent 99ea845 commit 40fa291

3 files changed

Lines changed: 23 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ target/
5858

5959
# python-fitparse specific
6060
FitSDK*
61+
Pipfile.lock
62+
Pipfile*

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
- "3.3"
5+
- "3.4"
6+
- "3.5"
7+
- "3.6"
8+
- "nightly"
9+
- "pypy3"
10+
- "pypy"
11+
12+
install:
13+
- pip install -r requirements-test.txt
14+
15+
script:
16+
- python -m unittest discover -s tests
17+
- coverage run run_tests.py && coverage report -m
18+
19+
notifications:
20+
email: false

requirements-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ click==7.0 # via pip-tools
99
coverage==4.5.2
1010
pip-tools==3.2.0
1111
six==1.12.0 # via pip-tools
12+
coveralls==1.7.0 # via pip-tools

0 commit comments

Comments
 (0)