aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-07-13 20:36:31 -0400
committerGitHub <noreply@github.com>2017-07-13 20:36:31 -0400
commit5faffa012a5d48c6a00155ddaf9cff8b62949836 (patch)
tree324da0fc97d789dd027ee0f659654fb06ce13607
parentb28472ae570e8ad1e333bf33f49d1848a7f9a6e8 (diff)
parent45d662b916b515d9c88db7a6cd53f3186530d56a (diff)
downloadexternal_python_setuptools-5faffa012a5d48c6a00155ddaf9cff8b62949836.tar.gz
external_python_setuptools-5faffa012a5d48c6a00155ddaf9cff8b62949836.tar.bz2
external_python_setuptools-5faffa012a5d48c6a00155ddaf9cff8b62949836.zip
Merge pull request #1053 from webknjaz/feature/enable-travis-pipelines
Run build stages (pipelines) in Travis CI config
-rw-r--r--.travis.yml76
1 files changed, 39 insertions, 37 deletions
diff --git a/.travis.yml b/.travis.yml
index 448d6312..08834232 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,46 +1,48 @@
+sudo: false
language: python
-python:
- - 2.6
- - 2.7
- - 3.3
- - 3.4
- - 3.5
- - 3.6
- - nightly
- - pypy
-matrix:
+jobs:
+ fast_finish: true
include:
- - python: 3.6
+ - python: 2.6
+ - python: &latest_py2 2.7
+ - python: 3.3
+ - python: 3.4
+ - python: 3.5
+ - python: &latest_py3 3.6
+ - python: nightly
+ - python: pypy
+ - python: *latest_py3
env: LANG=C
- - python: 2.7
+ - python: *latest_py2
env: LANG=C
-script:
- # need tox to get started
- - pip install tox
+ - stage: deploy (does actual deploy to PYPI only for tagged commits)
+ python: *latest_py3
+ install: skip
+ script: skip
+ deploy:
+ provider: pypi
+ on:
+ tags: true
+ all_branches: true
+ user: jaraco
+ password:
+ secure: tfWrsQMH2bHrWjqnP+08IX1WlkbW94Q30f4d7lCyhWS1FIf/jBDx4jrEILNfMxQ1NCwuBRje5sihj1Ow0BFf0vVrkaeff2IdvnNDEGFduMejaEQJL3s3QrLfpiAvUbtqwyWaHfAdGfk48PovDKTx0ZTvXZKYGXZhxGCYSlG2CE6Y6RDvnEl6Tk8e+LqUohkcSOwxrRwUoyxSnUaavdGohXxDT8MJlfWOXgr2u+KsRrriZqp3l6Fdsnk4IGvy6pXpy42L1HYQyyVu9XyJilR2JTbC6eCp5f8p26093m1Qas49+t6vYb0VLqQe12dO+Jm3v4uztSS5pPQzS7PFyjEYd2Rdb6ijsdbsy1074S4q7G9Sz+T3RsPUwYEJ07lzez8cxP64dtj5j94RL8m35A1Fb1OE8hHN+4c1yLG1gudfXbem+fUhi2eqhJrzQo5vsvDv1xS5x5GIS5ZHgKHCsWcW1Tv+dsFkrhaup3uU6VkOuc9UN+7VPsGEY7NvquGpTm8O1CnGJRzuJg6nbYRGj8ORwDpI0KmrExx6akV92P72fMC/I5TCgbSQSZn370H3Jj40gz1SM30WAli9M+wFHFd4ddMVY65yxj0NLmrP+m1tvnWdKtNh/RHuoW92d9/UFtiA5IhMf1/3djfsjBq6S9NT1uaLkVkTttqrPYJ7hOql8+g=
+ distributions: release
+ skip_upload_docs: true
- # Output the env, to verify behavior
- - env
+cache: pip
- # update egg_info based on setup.py in checkout
- - python bootstrap.py
+install:
+# need tox to get started
+- pip install tox
- #- python -m tox
- - tox
+# Output the env, to verify behavior
+- env
- # Check that setuptools can be installed in a clean environment
- - tests/clean_install.sh
+# update egg_info based on setup.py in checkout
+- python bootstrap.py
-deploy:
- provider: pypi
- # Also update server in setup.cfg
- server: https://upload.pypi.org/legacy/
- on:
- tags: true
- all_branches: true
- python: 3.6
- condition: $LC_ALL != "C"
- user: jaraco
- password:
- secure: tfWrsQMH2bHrWjqnP+08IX1WlkbW94Q30f4d7lCyhWS1FIf/jBDx4jrEILNfMxQ1NCwuBRje5sihj1Ow0BFf0vVrkaeff2IdvnNDEGFduMejaEQJL3s3QrLfpiAvUbtqwyWaHfAdGfk48PovDKTx0ZTvXZKYGXZhxGCYSlG2CE6Y6RDvnEl6Tk8e+LqUohkcSOwxrRwUoyxSnUaavdGohXxDT8MJlfWOXgr2u+KsRrriZqp3l6Fdsnk4IGvy6pXpy42L1HYQyyVu9XyJilR2JTbC6eCp5f8p26093m1Qas49+t6vYb0VLqQe12dO+Jm3v4uztSS5pPQzS7PFyjEYd2Rdb6ijsdbsy1074S4q7G9Sz+T3RsPUwYEJ07lzez8cxP64dtj5j94RL8m35A1Fb1OE8hHN+4c1yLG1gudfXbem+fUhi2eqhJrzQo5vsvDv1xS5x5GIS5ZHgKHCsWcW1Tv+dsFkrhaup3uU6VkOuc9UN+7VPsGEY7NvquGpTm8O1CnGJRzuJg6nbYRGj8ORwDpI0KmrExx6akV92P72fMC/I5TCgbSQSZn370H3Jj40gz1SM30WAli9M+wFHFd4ddMVY65yxj0NLmrP+m1tvnWdKtNh/RHuoW92d9/UFtiA5IhMf1/3djfsjBq6S9NT1uaLkVkTttqrPYJ7hOql8+g=
- distributions: release
- skip_upload_docs: true
+# Check that setuptools can be installed in a clean environment
+- tests/clean_install.sh
+
+script: tox