https://github.com/Radiomics/pyradiomics
Revision 7dcc2a9d8d0c46b00ffbb3fbee5665ce5f2b351b authored by Joost van Griethuysen on 31 August 2017, 13:40:53 UTC, committed by Joost van Griethuysen on 31 August 2017, 13:40:53 UTC
1 parent 1675ac7
Raw File
Tip revision: 7dcc2a9d8d0c46b00ffbb3fbee5665ce5f2b351b authored by Joost van Griethuysen on 31 August 2017, 13:40:53 UTC
Change license in setup.py to reflect change by #272
Tip revision: 7dcc2a9
scikit-ci.yml
schema_version: "0.5.0"

before_install:

  appveyor:
    environment:
      PATH: $<PYTHON_DIR>;$<PYTHON_DIR>\\Scripts;$<PATH>
      RUN_ENV: .\\..\\addons\\appveyor\\run-with-visual-studio.cmd
    commands:
      - python ../addons/appveyor/patch_vs2008.py

  circle:
    environment:
      PATH: /opt/python/$<MANYLINUX_PYTHON>/bin:$<PATH>
    commands:
      - rm -rf dist/*

  travis:
    osx:
      environment:
        PATH: $<HOME>/.pyenv/versions/$<PYTHON_VERSION>/bin:$<PATH>
      commands:
        - python ../addons/travis/install_pyenv.py

install:
  commands:
    - python --version
    - python -m pip install --disable-pip-version-check --upgrade pip
    - $<RUN_ENV> pip install wheel>=0.29.0
    - $<RUN_ENV> pip install setuptools>=28.0.0
    - $<RUN_ENV> pip install --trusted-host www.itk.org -f https://itk.org/SimpleITKDoxygen/html/PyDownloadPage.html SimpleITK>=0.9.1
    - $<RUN_ENV> python -c "import SimpleITK; print('SimpleITK Version:' + SimpleITK.Version_VersionString())"
    - $<RUN_ENV> pip install -r requirements.txt
    - $<RUN_ENV> pip install -r requirements-dev.txt

before_build:
  commands:
    - flake8

build:
  commands:
    - python setup.py sdist
    - $<RUN_ENV> python setup.py bdist_wheel

#  circle:
#    commands:
#      - |
#        # Since there are no external shared libraries to bundle into the wheels
#        # this step will fixup the wheel switching from 'linux' to 'manylinux1' tag
#        for whl in dist/*$(uname -p).whl; do
#            auditwheel repair $whl -w ./dist/
#            rm $whl
#        done

test:
  commands:
    - $<RUN_ENV> python setup.py test  --args="--with-xunit --logging-level=DEBUG"

  circleci:
    commands:
      - cp nosetests.xml $CIRCLE_TEST_REPORTS

back to top