Deploy skip improved
@@ -5,42 +5,29 @@ matrix:
include:
- os: linux
python: "2.7"
- before_install:
- - if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi; # Tag to deploy on 3.6
- os: linux
python: "3.3"
- before_install:
- - if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi; # Tag to deploy on 3.6
- os: linux
python: "3.4"
- before_install:
- - if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi; # Tag to deploy on 3.6
- os: linux
python: "3.5"
- before_install:
- - if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi; # Tag to deploy on 3.6
- os: linux
python: "3.6"
- os: linux
python: "nightly"
- before_install:
- - if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi; # Tag to deploy on 3.6
- os: linux
python: "pypy"
- before_install:
- - if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi; # Tag to deploy on 3.6
# - os: linux
# python: "pypy3"
- os: osx
osx_image: xcode7.3
language: generic
- before_install:
- - if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi; # Tag to deploy on 3.6
allow_failures:
- os: osx
fast_finish: true
# Perform the manual steps on osx to install python3 and activate venv
before_install:
+ - if [[ -n "$TRAVIS_TAG" && "$TRAVIS_PYTHON_VERSION" != "3.6" ]]; then travis_terminate 0; fi; # Deploy on 3.6
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 -m venv venv; fi
