trying to fix mac 2.7 tests

This commit is contained in:
Shay Palachy
2019-07-13 20:22:39 +03:00
parent 28001c5905
commit 48ddb2df6d
+2 -1
View File
@@ -100,7 +100,8 @@ before_install:
- pip install codecov
- pip install pymongo
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install coverage pytest-cov .; else pip install ".[test]"; fi
- echo $TRAVIS_OS_NAME
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ] && ["$TRAVIS_OS_NAME" == "linux"]; then pip install coverage pytest-cov .; else pip install ".[test]"; fi
script: python -m pytest
# submit coverage
after_success: