mirror of
https://github.com/wassname/cachier.git
synced 2026-09-04 16:14:48 +08:00
trying to fix mac 2.7 tests
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user