fix tests

This commit is contained in:
Shay Palachy
2019-07-13 23:32:03 +03:00
parent 48d1359941
commit 363b1a41ae
+2 -1
View File
@@ -25,6 +25,7 @@ matrix:
- pip install pytest --user
- pip install codecov --user
- pip install pymongo --user
install: install ".[test]" --user
script: python -m pytest
after_success: python -m codecov
- name: "Python 3.6.5 on macOS 10.13"
@@ -101,7 +102,7 @@ before_install:
- pip install pymongo
install:
- echo $TRAVIS_OS_NAME
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ] && ["$TRAVIS_OS_NAME" == "linux"]; then pip install coverage pytest-cov .; else pip install ".[test]" --user; fi
- 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: