summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJonathan Huot <jonathan.huot@thomsonreuters.com>2018-05-23 16:59:22 +0200
committerJonathan Huot <jonathan.huot@thomsonreuters.com>2018-05-23 16:59:22 +0200
commit6da09f284593546daac545d625f68014d7464c39 (patch)
tree989ac6c14458ed62e3cedf0a61818a30d4a873ca /.travis.yml
parenta306b12b98b5d2aaf469b89b956db0df050823e7 (diff)
downloadoauthlib-6da09f284593546daac545d625f68014d7464c39.tar.gz
Deploy only when building python36 with tox
Avoid multiple deploy steps and lead to failures (e.g. errors "already deployed")
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0a7d8ad..dd72d5c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,6 +34,7 @@ deploy:
on:
tags: true
all_branches: true
+ condition: $TOXENV = py36
repo: oauthlib/oauthlib
- provider: releases
api_key:
@@ -42,4 +43,5 @@ deploy:
on:
tags: true
all_branches: true
+ condition: $TOXENV = py36
repo: oauthlib/oauthlib