adapting installation to python 2.7

This commit is contained in:
Shay Palachy
2017-04-20 12:27:03 +03:00
parent 46962a39f6
commit 52fe648d4e
+2 -2
View File
@@ -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