https://github.com/Radiomics/pyradiomics
Revision 4775ee1fb88688ff64ca6bb747e49790da7f924d authored by Joost van Griethuysen on 05 July 2018, 14:01:01 UTC, committed by Joost van Griethuysen on 05 July 2018, 14:01:07 UTC
1 parent 5a09f94
Raw File
Tip revision: 4775ee1fb88688ff64ca6bb747e49790da7f924d authored by Joost van Griethuysen on 05 July 2018, 14:01:01 UTC
v2.0.0 release
Tip revision: 4775ee1
.travis.yml
# Config file for automatic testing at travis-ci.org

language: python

matrix:
  include:

    - os: osx
      language: generic
      env:
        - PYTHON_VERSION=2.7.12

    - os: osx
      language: generic
      env:
        - PYTHON_VERSION=3.4.8

    - os: osx
      language: generic
      env:
        - PYTHON_VERSION=3.5.5

    - os: osx
      language: generic
      env:
        - PYTHON_VERSION=3.6.5

cache:
  directories:
    - $HOME/.pyenv/versions/3.6.5
    - $HOME/.pyenv/versions/3.5.5
    - $HOME/.pyenv/versions/3.4.8
    - $HOME/.pyenv/versions/2.7.12
    - $HOME/downloads

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir $HOME/bin; ln -s $(which pip2) $HOME/bin/pip; fi
  - pip install scikit-ci==0.13.0 scikit-ci-addons==0.11.0
  - ci_addons --install ../addons

install:
  - ci install

script:
  - ci test

after_success:
  - ci after_test

before_deploy:
  - sudo pip install twine  # Twine installation requires sudo to get access to /usr/local/man
deploy:
  provider: script
  skip_cleanup: true
  script: twine upload dist/*.whl -u $PYPI_USER -p $PYPI_PASSWORD
  on:
    tags: true
    condition: $TRAVIS_TAG =~ ^v?[0-9]+(\.[0-9]+)*(-rc[0-9]+)?$
back to top