From 799b73dbb48ce9e5d3dba9932e81a32281c1f296 Mon Sep 17 00:00:00 2001 From: Caleb Bell Date: Sun, 3 Jul 2016 15:58:04 -0300 Subject: [PATCH] Strategy #2 to get correct stats reported to coveralls --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index db8f7ca6..41f4d6fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,7 @@ install: - python setup.py -q install script: - python tests/test_doctests.py - - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then - py.test . -v --cov-report html --cov=/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/thermo/ --cov-report term-missing; - else - py.test . -v --cov-report html --cov=/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/thermo/ --cov-report term-missing; - fi + - cd tests + - py.test . -v --cov-report html --cov=thermo --cov-report term-missing; after_success: - coveralls