summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2019-10-05 23:31:03 +0300
committerClaude Paroz <claude@2xlibre.net>2019-10-05 23:21:40 +0200
commitf3d02aa3b088e2f9044fe5e4869e8c8cb91d2cdc (patch)
treec297add0e34ac8f010393c1f6612309b405b8d09 /.travis.yml
parentca8dbcf9bea46607d22fe205498b4c071c705860 (diff)
downloadtablib-f3d02aa3b088e2f9044fe5e4869e8c8cb91d2cdc.tar.gz
Test with pytest and send coverage to Codecov
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f9f13cc..79a5175 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,6 @@
language: python
cache: pip
+
matrix:
include:
- python: 2.7
@@ -7,6 +8,13 @@ matrix:
- python: 3.6
- python: 3.7
- python: 3.8-dev
+
install:
- pip install -r requirements.txt
-script: python test_tablib.py
+ - pip install -U pytest pytest-cov
+
+script: pytest --cov tablib
+
+after_success:
+ - pip install -U codecov
+ - codecov