env:
  matrix:
    - TRAVIS_PYTHON_VERSION="2.7"
  global:
    secure: gsF0tK0qZ1jFk/fjBdwYDMmAmedXFxd0jtFlroEU2vpozsR+a9VKtTCBMOfbP9sLPIDNpoKCbYdfGw91rH4+27fen1o5AIvomTeLcyGbsMxmfDEr0o/WCcx144EWZHi/x5D1QTr0ph3c0QOG8RfJCaWjjKc7cR3MAWVGEjko8og=

os:
  - linux
  - osx

sudo: required

before_install:
  - echo "Build on $TRAVIS_OS_NAME"
  - if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
  - source .ci/travis/install_python.sh
  - conda info -a
  - conda build -q -c csdms .conda
  - pip install coveralls
  - source .ci/travis/install_dakota.sh
  - dakota --version
  - conda install -q -c csdms hydrotrend

install:
  - conda install -q -c csdms dakotathon --use-local

script:
  - nosetests --with-doctest --with-coverage --cover-package=dakotathon

after_success:
  - coveralls --verbose
  - bash .ci/travis/deploy_to_anaconda.sh

env:
  matrix:
    - TRAVIS_PYTHON_VERSION="2.7"
  global:
    secure: gsF0tK0qZ1jFk/fjBdwYDMmAmedXFxd0jtFlroEU2vpozsR+a9VKtTCBMOfbP9sLPIDNpoKCbYdfGw91rH4+27fen1o5AIvomTeLcyGbsMxmfDEr0o/WCcx144EWZHi/x5D1QTr0ph3c0QOG8RfJCaWjjKc7cR3MAWVGEjko8og=

os:
  - linux
  - osx

sudo: required

before_install:
  - echo "Build on $TRAVIS_OS_NAME"
  - if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
  - source .ci/travis/install_python.sh
  - conda info -a
  - conda build -q -c csdms .conda
  - pip install coveralls
  - source .ci/travis/install_dakota.sh
  - dakota --version
  - conda install -q -c csdms -c conda-forge hydrotrend

install:
  - conda install -q -c csdms dakotathon --use-local

script:
  - nosetests --with-doctest --with-coverage --cover-package=dakotathon

after_success:
  - coveralls --verbose
  - bash .ci/travis/deploy_to_anaconda.sh

Use conda-forge channel for hydrotrend dependencies
Use conda-forge channel for hydrotrend dependencies

The `conda` and `conda-env` packages revert to the default channel,
which borks the dakotathon install.
