Skip to content

Commit

Permalink
MNT: Move release deployment to Python 3.7
Browse files Browse the repository at this point in the history
Also make sure our builds against git of other projects uses Python
3.7-dev, if for no other reason than we make sure we're not releasing
off them.
  • Loading branch information
dopplershift committed Sep 25, 2019
1 parent 69358ad commit 3ed289e
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,17 @@ matrix:
env: TASK="docs" PRE="--pre"
- python: nightly
env: PRE="--pre"
- python: 3.7
- python: "3.7-dev"
env:
- TASK="coverage"
- VERSIONS="git+git://github.com/hgrecco/pint@master#egg=pint git+git://github.com/pydata/xarray@master#egg=xarray"
- python: 3.7
- python: "3.7-dev"
env:
- TASK="docs"
- VERSIONS="git+git://github.com/hgrecco/pint@master#egg=pint git+git://github.com/pydata/xarray@master#egg=xarray"
allow_failures:
- python: "3.7-dev"
- python: nightly
- python: 3.7
env:
- TASK="coverage"
- VERSIONS="git+git://github.com/hgrecco/pint@master#egg=pint git+git://github.com/pydata/xarray@master#egg=xarray"
- python: 3.7
env:
- TASK="docs"
- VERSIONS="git+git://github.com/hgrecco/pint@master#egg=pint git+git://github.com/pydata/xarray@master#egg=xarray"

before_install:
# We hard-code the sphinx_rtd_theme to lock in our build with patch for
Expand Down Expand Up @@ -175,15 +167,15 @@ deploy:
upload_docs: no
on:
repo: Unidata/MetPy
python: 3.6
python: 3.7
condition: '$TASK != "docs"'
tags: true
- provider: script
script: ci/deploy_docs.sh
skip_cleanup: true
on:
all_branches: true
python: 3.6
python: 3.7
condition: '$TASK == "docs"'

notifications:
Expand Down

0 comments on commit 3ed289e

Please sign in to comment.