fix .travis install script

This commit is contained in:
Fabien C. Y. Benureau 2019-01-05 21:20:29 +09:00
parent d1b0b4eee5
commit d82536acf6
No known key found for this signature in database
GPG Key ID: C3FB5E831A249A9A

View File

@ -85,7 +85,7 @@ matrix:
# command to run tests
script:
- python --version
- if [ "$TEST_MODE" = "TEST_FULL" ]; then PUBS_TESTS_MODE=MOCK python setup.py test; fi
- if [ "$TEST_MODE" = "TEST_FULL" ]; then PUBS_TESTS_MODE=COLLECT python setup.py test; fi
- if [ "$TEST_MODE" = "TEST_MOCK" ]; then PUBS_TESTS_MODE=MOCK python setup.py test; fi
- if [ "$TEST_MODE" = "INSTALL" ]; then pip install -U pip; pip install pubs; pubs --help; pip uninstall -y pubs; fi
- if [ "$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