From d20463e6dcbbddd2d4125a060dfb1aed3ac80435 Mon Sep 17 00:00:00 2001 From: John Dewey <john@dewey.ws> Date: Wed, 6 Feb 2019 15:21:08 -0800 Subject: [PATCH] Trying to get coveralls to push --- .travis.yml | 6 ++---- pytest.ini | 2 +- test-requirements.txt | 1 - tox.ini | 1 + 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 555fb52..5553b60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,4 @@ --- -sudo: required - language: python python: - "2.7" @@ -10,10 +8,10 @@ python: # - "3.7" install: - - pip install tox-travis + - pip install tox-travis coveralls script: - tox after_success: - - coveralls --data_file .coverage + - coveralls diff --git a/pytest.ini b/pytest.ini index e468b76..c3cf14c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,4 +1,4 @@ [pytest] -addopts = -v -rxXs --doctest-modules --cov=giturlparse --cov-report term-missing:skip-covered +addopts = -v -rxXs --doctest-modules --cov giturlparse --cov-report term-missing norecursedirs = dist doc build .tox .eggs testpaths = test/ diff --git a/test-requirements.txt b/test-requirements.txt index a0787c9..42897a0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,4 +3,3 @@ pytest pytest-cov pytest-mock yapf==0.21.0 -python-coveralls==2.9.1 diff --git a/tox.ini b/tox.ini index 577161f..6c694fb 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,7 @@ skipsdist = true [testenv] passenv = * +setenv = COVERAGE_FILE={toxworkdir}/.coverage deps = -rrequirements.txt -rtest-requirements.txt