sudo: false
language: python
python:
    - "2.7"

env:
    global:
        - DCMTK_VERSION="dcmtk-3.6.1_20150924"
        - DCMTK_DB_DIR="dcmtk_dicom_db"
        - TESTDATA_DIR="testdata"

cache:
    pip: true
    directories:
        - $DCMTK_VERSION
        - $DCMTK_DB_DIR
        - $TESTDATA_DIR

install:
    - pip install .
    - pip install -U -r requirements-dev.txt
    - ./test/install_deps.sh

script:
    - ./test/test.sh
    - pylint --reports=no reaper
    - pep8 --max-line-length=150 --ignore=E402 reaper

after_success:
# Split out build steps to script to avoid yml parsing issues of the commands.
- bash ./docker/build-trigger.sh Tag "${TRAVIS_TAG}" "${DOCKERHUB_TRIGGER_URL}"

sudo: false
language: python
python:
    - "2.7"

env:
    global:
        - DCMTK_VERSION="dcmtk-3.6.1_20150924"
        - DCMTK_DB_DIR="dcmtk_dicom_db"
        - TESTDATA_DIR="testdata"

cache:
    pip: true
    directories:
        - $DCMTK_VERSION
        - $DCMTK_DB_DIR
        - $TESTDATA_DIR

install:
    - pip install .
    - pip install -U -r requirements-dev.txt
    - ./test/install_deps.sh

script:
    - ./test/test.sh
    - pylint --reports=no reaper
    - pep8 --max-line-length=150 --ignore=E402 reaper

after_success:
# Split out build steps to script to avoid yml parsing issues of the commands.
- ./docker/build-trigger.sh Tag "${TRAVIS_TAG}" "${BUILD_TRIGGER_URL}"

Update trigger URL variable name
Update trigger URL variable name
