summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Willhaus <mail@janwillhaus.de>2019-05-19 10:32:45 +0200
committerJan Willhaus <mail@janwillhaus.de>2019-05-19 18:38:59 +0200
commitc554d62f9ff2e7c94dafa933d91191faf661146d (patch)
tree68a85d50987014f4b17d9385f4f08bda2d94ebac
parent4e9aabe2d633cacd307a59ceac49b43cee8f0de8 (diff)
downloadwarlock-c554d62f9ff2e7c94dafa933d91191faf661146d.tar.gz
Inline if-clause for poetry
-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