From 52fe648d4ea0177edf3ed0bce4ff4c9623bb1c8a Mon Sep 17 00:00:00 2001 From: Shay Palachy Date: Thu, 20 Apr 2017 12:27:03 +0300 Subject: [PATCH] adapting installation to python 2.7 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd69c1f..b09011e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,8 @@ before_install: # coverage submission packages - pip install codecov install: - - pip install ".[test]" -script: pytest --cov=pcachier + - if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install pytest coverage pytest-cov; else; pip install ".[test]"; fi +script: pytest --cov=cachier # submit coverage after_success: # - coveralls