From 48ddb2df6dff01e2b497c1222726dd3bea366e41 Mon Sep 17 00:00:00 2001 From: Shay Palachy Date: Sat, 13 Jul 2019 20:22:39 +0300 Subject: [PATCH] trying to fix mac 2.7 tests --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9ffac7d..4b3e803 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: