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