# Config file for automatic testing at travis-ci.org
# Conda testing for Travis CI from https://gist.github.com/dan-blanchard/7045057
language: python

python:
  - 2.7

notifications:
  email: false
  
# Setup Anaconda
before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  # Install in batch mode
  - ./miniconda.sh -b  -p $HOME/miniconda
  - export PATH=$HOME/miniconda/bin:$PATH
  - conda update --yes conda

install:
  # pip cannot easily install scipy, matplotlib or graphviz on the Travis CI server
  - conda install --yes python=$TRAVIS_PYTHON_VERSION scipy matplotlib graphviz pytest
  # Install the cloned dragonn package from source using Anaconda
  # Process the deeplift dependency_links in setup.py
  - pip install . --process-dependency-links

# run dragonn binary and tests
script:
- dragonn --help
- py.test

# Config file for automatic testing at travis-ci.org
# Conda testing for Travis CI from https://gist.github.com/dan-blanchard/7045057
language: python

python:
  - 2.7

notifications:
  email: false
  
# Setup Anaconda
before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  # Install in batch mode
  - ./miniconda.sh -b  -p $HOME/miniconda
  - export PATH=$HOME/miniconda/bin:$PATH
  - conda update --yes conda

install:
  # Create a conda environment for the desired Python version and install
  # The dependencies that pip cannot easily install on the Travis CI server
  - conda create --yes --name dragonn-$TRAVIS_PYTHON_VERSION python=$TRAVIS_PYTHON_VERSION scipy matplotlib graphviz pytest
  # Use the new environment
  - source activate dragonn-$TRAVIS_PYTHON_VERSION
  - python --version
  # Install the cloned dragonn package from source
  # Process the deeplift dependency_links in setup.py
  - pip install . --process-dependency-links

# Run dragonn binary and tests
script:
- dragonn --help
- py.test

Generalize Travis CI testing in preparation for Python 3.5 tests
Generalize Travis CI testing in preparation for Python 3.5 tests
