language: python
python:
  - "2.7"
  - "3.4"
notifications:
  email: false

# Setup anaconda
# Based on http://stackoverflow.com/questions/17339494/travis-ci-matplotlib-dependency-and-python3
before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda
  # The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
  - sudo rm -rf /dev/shm
  - sudo ln -s /run/shm /dev/shm

# Install dependencies
install: "pip install -r requirements.txt"

# Run tests
script: "python -m unittest discover"

language: python
python:
  - "2.7"
  - "3.4"
notifications:
  email: false

# Setup anaconda
# Based on http://stackoverflow.com/questions/17339494/travis-ci-matplotlib-dependency-and-python3
before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda
  # The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
  - sudo rm -rf /dev/shm
  - sudo ln -s /run/shm /dev/shm
  - conda install numpy scipy pandas

# Install dependencies
install: "pip install -r requirements.txt"

# Run tests
script: "python -m unittest discover"

Use conda for scipy stack
Use conda for scipy stack
