From 3adb0aae938e4df2f20bb5377d4b0d6403af9442 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 18 Mar 2021 10:23:01 -0600 Subject: [PATCH] Added deploy option to auto deploy on tags (#901) --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7d5af31e3e..ae51fc2413 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,3 +27,11 @@ stages: script: - ".venv/bin/tox -e py36,py37,py38" + +deploy: + provider: "script" + script: + - "poetry config pypi-token.pypi $PYPI_TOKEN" + - "poetry publish --build" + on: + tags: true