From f3d02aa3b088e2f9044fe5e4869e8c8cb91d2cdc Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 5 Oct 2019 23:31:03 +0300 Subject: Test with pytest and send coverage to Codecov --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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 -- cgit v1.2.1