-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to get coverage working on Travis.
- Loading branch information
1 parent
2c8df97
commit 359a836
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
language: python | ||
|
||
python: | ||
- "3.6" | ||
- "3.7" | ||
- "3.8" | ||
|
||
install: | ||
- pip install -U pytest hypothesis pytest-cov coveralls attrs | ||
- pip install . | ||
|
||
# Can't imagine why this would matter, but see: | ||
# https://thomas-cokelaer.info/blog/2017/01/pytest-cov-collects-no-data-on-travis/ | ||
- touch tests/__init__.py | ||
|
||
script: | ||
- pytest tests --cov wellmap | ||
|
||
after_success: | ||
- coveralls |