summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 394e719..e2d0aa3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,11 +7,7 @@ env:
- TEST_CMD="poetry run pytest"
install:
- - |
- if [[ "$TEST_CMD" == pytest* ]]; then
- pip install poetry
- poetry --no-interaction install
- fi
+ - if [[ "$TEST_CMD" == pytest* ]]; then pip install poetry && poetry --no-interaction install; fi
- if [[ "$TEST_CMD" == pytest* ]] && [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then
pip install coveralls; fi
- if [[ $TEST_CMD == black* ]]; then pip install black; fi