diff options
author | Seth Michael Larson <sethmichaellarson@gmail.com> | 2019-03-18 12:16:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-18 12:16:25 -0500 |
commit | 6bb3d5416d28af7a60a2637e214178b5ee5d5ad5 (patch) | |
tree | b892216903b239cf4fd8ff99eb4601d94d1518fa | |
parent | 2a0957ea27e966166f81f88693af8e2f87d19fb6 (diff) | |
download | urllib3-6bb3d5416d28af7a60a2637e214178b5ee5d5ad5.tar.gz |
Only run downstream tests on release candidate branches (#1552)
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 7fba1a3a..1e76821e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python sudo: false +stage: test before_install: - env @@ -78,27 +79,36 @@ matrix: os: osx env: TOXENV=py37 - # TODO: make these integration tests - python: 2.7 env: DOWNSTREAM=requests + stage: integration - python: 3.7 env: DOWNSTREAM=requests dist: xenial sudo: required + stage: integration - python: 2.7 env: DOWNSTREAM=botocore + stage: integration - python: 3.7 env: DOWNSTREAM=botocore dist: xenial sudo: required - + stage: integration allow_failures: - python: pypy-5.4 +stages: + - test + + # Run integration tests for release candidates + - name: integration + if: type = pull_request AND head_branch =~ ^release-[\d.]+$ + deploy: - provider: script script: bash _travis/deploy.sh |