Factors mock in travis script.
This commit is contained in:
parent
9754ed721c
commit
7c5ec2ae1e
@ -99,7 +99,7 @@ matrix:
|
||||
# command to run tests
|
||||
script:
|
||||
- python --version
|
||||
- if [ "$TO_TEST" = "TEST_FULL" ]; then PUBS_TESTS_MODE=MOCK python setup.py test; fi
|
||||
- if [ "$TO_TEST" = "TEST_MOCK" ] ||
|
||||
[ "$TO_TEST" = "TEST_FULL" ]; then PUBS_TESTS_MODE=MOCK python setup.py test; fi
|
||||
- if [ "$TO_TEST" = "TEST_FULL" ]; then PUBS_TESTS_MODE=COLLECT python setup.py test; fi
|
||||
- if [ "$TO_TEST" = "TEST_MOCK" ]; then PUBS_TESTS_MODE=MOCK python setup.py test; fi
|
||||
- if [ "$TO_TEST" = "INSTALL" ]; then pip install -U pip && pip install pubs && pubs --help && pip uninstall -y pubs; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user