Codebase list python-webargs / upstream/4.0.0 .travis.yml
upstream/4.0.0

Tree @upstream/4.0.0 (Download .tar.gz)

.travis.yml @upstream/4.0.0raw · history · blame

# Config file for automatic testing at travis-ci.org

language: python
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false
cache: pip

env:
  # Lowest supported version
  - MARSHMALLOW_VERSION="==2.15.0"
  # Latest release
  - MARSHMALLOW_VERSION=""

python:
  - "3.6"
  - "3.5"
  - "2.7"
  - "pypy"

install:
  - travis_retry pip install -U .
  - if [[ $TRAVIS_PYTHON_VERSION == 2* || $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then travis_retry pip install -r dev-requirements.txt; fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3* ]] ; then travis_retry pip install -r dev-requirements-py3.txt; fi
  - travis_retry pip install -U marshmallow"$MARSHMALLOW_VERSION" --pre


script:
  - if [[ $TRAVIS_PYTHON_VERSION == 3.6* ]]; then invoke test; fi
  - if [[ $TRAVIS_PYTHON_VERSION != 3.6* ]]; then invoke test --no-syntax; fi
jobs:
  include:
  - stage: PyPI Release
    if: tag IS present
    python: "3.6"
    env: []
    # Override install, and script to no-ops
    install: true
    script: echo "Releasing to PyPI..."
    after_success: true
    deploy:
      provider: pypi
      user: sloria
      on:
        tags: true
      distributions: sdist bdist_wheel
      password:
        secure: TMeTi5OPl2cYsl5hNP4w1xESd2vQUOy8NgZ0c3KbrVSSeBuUCGOKyYJZNGzD9KDMucCvYFuxCwYiDxP8tB5iT85z3rhdVkzppZTy3/3kXMODjlhMzqTnCdJSOoZZ+D5/Y3Zqb8QxU78NggPutfX4bbUU/wNsVbdODXWHe5y2q3k=