From 363b1a41aea74c4a393075edb6c12788cbafa126 Mon Sep 17 00:00:00 2001 From: Shay Palachy Date: Sat, 13 Jul 2019 23:32:03 +0300 Subject: [PATCH] fix tests --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7036276..2a3165f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: