Skip to content

Commit fc03e98

Browse files
authored
Merge pull request #17 from TomSlater/codecov
Add code coverage with codecov
2 parents 0dcece0 + 31b0101 commit fc03e98

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,24 @@ language: python
22

33
python:
44
- "3.6"
5+
- "3.7"
56

67
install:
78
- pip install -r requirements.txt
89
- pip install -e .
910
- pip install sphinx
1011
- pip install sphinx_rtd_theme
12+
- pip install codecov
1113

1214
script:
13-
- pytest
15+
- pytest --cov=ParticleSpy
1416
- cd docs
1517
- make html
1618
- touch _build/html/.nojekyll
1719

20+
after_success:
21+
- bash <(curl -s https://codecov.io/bash)
22+
1823
deploy:
1924
provider: pages
2025
skip_cleanup: true

requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
PyQt5
1+
PyQt5
2+
coverage>=4.4.0
3+
pytest>=3.6.0
4+
pytest-cov

0 commit comments

Comments
 (0)