language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "3.5"
  - "3.6"
install:
  # Install Anaconda
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
script:
  - echo "No tests to run..."
deploy:
  skip_cleanup: true
after_success:
  - conda install conda-build anaconda-client
  - mkdir ~/conda-bld
  - conda config --set anaconda_upload no
  - export CONDA_BLD_PATH=~/conda-bld
  - export VERSION=`date +%Y.%m.%d`
  - conda build -c conda-forge .
  - PACKAGE=$(conda build -c conda-forge . --output)
  - echo "Package name $PACKAGE"
  - anaconda -t $CONDA_UPLOAD_TOKEN upload -u cinpla --force $PACKAGE

language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "3.5"
  - "3.6"
install:
  - bash libs/travis-conda-scripts/install.sh
script:
  - echo "No tests to run..."
deploy:
  skip_cleanup: true
after_success:
  - bash libs/travis-conda-scripts/upload.sh

Use upload and install scripts
Use upload and install scripts
