From efc15ce4b79a65c1b07f0d4f766ded8d19854b3b Mon Sep 17 00:00:00 2001 From: vduseev Date: Fri, 25 Sep 2020 23:50:07 +0200 Subject: [PATCH 1/2] Bumped poetry version in build to preview Poetry is now installed using official `get-poetry.py` script using --preview flag. Script is downloaded to /tmp directory and poetry environment is sourced into the Travis' shell. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 60899cc..0a93ae3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ python: - 3.8 before_install: -- pip install poetry +- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py > /tmp/get-poetry.py +- python /tmp/get-poetry.py --preview --yes +- source $HOME/.poetry/env install: - poetry install -E yaml -E toml -E azure -E aws From 6d84de9cb74366a8325b4d9709a1a679af9cb109 Mon Sep 17 00:00:00 2001 From: vduseev Date: Sat, 26 Sep 2020 01:16:40 +0200 Subject: [PATCH 2/2] Added GCP dependencies to poetry install during build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0a93ae3..4d9d3c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ before_install: - source $HOME/.poetry/env install: -- poetry install -E yaml -E toml -E azure -E aws +- poetry install -E yaml -E toml -E azure -E aws -E gcp script: - poetry run pytest