Package list python-procrunner / v2.2.0 .travis.yml
v2.2.0

Tree @v2.2.0 (Download .tar.gz)

.travis.yml @v2.2.0raw · history · blame

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

language: python

matrix:
  include:
    - python: 3.9-dev
      dist: bionic
#    - python: 3.9
#      dist: bionic
#      env: OPTIONAL=1
    - python: 3.8
    - python: 3.7
    - python: 3.6
    - python: 3.5
    - os: osx
      language: generic
      env: CONDA=3.8 TOXENV=py38
    - os: osx
      language: generic
      env: CONDA=3.7 TOXENV=py37
    - os: osx
      language: generic
      env: CONDA=3.6 TOXENV=py36
    - os: osx
      language: generic
      env: CONDA=3.5 TOXENV=py35

  allow_failures:
    - env: OPTIONAL=1

  fast_finish: true

before_install: |
  if [ ! -z "$CONDA" ]; then
    if [ "$TRAVIS_OS_NAME" == "osx" ]; then
      curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh --output miniconda.sh
    fi
    chmod +x miniconda.sh
    ./miniconda.sh -b
    export PATH=$HOME/miniconda3/bin:$PATH
    conda update --yes conda
    conda create --yes -n travis python=$CONDA
    source activate travis
    # A manual check that the correct version of Python is running.
    python --version
  fi

# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox-travis

# Command to run tests, e.g. python setup.py test
script: tox

# Assuming you have installed the travis-ci CLI tool, after you
# create the Github repo and add it to Travis, run the
# following command to finish PyPI deployment setup:
# $ travis encrypt --add deploy.password
deploy:
  provider: pypi
  distributions: sdist bdist_wheel
  user: mgerstel
  password:
    secure: wIIH59zYpK/AZM7rM2SSz2Iu72cUPBK323X/QhueLc9rHI1i8qCVlEQAO89Oog13fpYOzbgWDFoGnLQahrxf1EHXIpz0+VSZNk1lFsR61sCo4oJEJAklkjwFhb7cdb30/CjJe6z+HqkYkkSu6ErQu5xyPRfPJiJkw0fufmNw8S8XRLDEdi0RV3Jkt+3x5Ndd2D0AIuZhCSznOGZPOuj7G5px8/ZZcbAue76IQ/jyXMu7n6kjcOCg3OJnOK8wjcZ0v68dOl3JAvId2pQlGvgRxOsmc2dFake3YLNzpQMvn+KrqC4yq0K0IBhGFvXwvVnf/jCbEi+onVgBTQcY8fiTD4U2jpWah2kypvGXUGo8Lpr84Ill4ZZKSAxI+zeKslRPGTHV8yqv3KEmlGRPSiUvC2fU/I1tWiMq3P24Wlron5jDegVMqvjMDrJdpud4mDksydvsVJ9/XhCeNeNWzhkMzyzhBjS6Cx97n/znkNR4CzFVsoONvZnaY3GcWqsrSduDFjn77sIb9srbK5W4rPrXZkRB8qcC+/rtyNpw50ItO6uGwRlesNS1oTthwMf9fZXzoFXXkrZuvxCmxVoO+/KKvXTq8w/JMUqYrAdSv5l7ee98lChfksmqk+Bh+DSSkPdo3FpwIDdAeUtm2T/BOAlQvuA4TH486X6bOuei8PAixFs=
  on:
    tags: true
    repo: DiamondLightSource/python-procrunner
    python: 3.8