language: python
python:
  - "2.7"

before_install:
  - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.3.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.3.0-Linux-x86_64.sh -O miniconda.sh; fi
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda

install:
  - conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy matplotlib nose dateutil pandas statsmodels cython
  - pip install scikit-learn
  - pip install cvxopt
  #- "pip install -r requirements.txt"

before_script: "cd src; python setup.py build_ext --inplace"

# command to run tests
script: nosetests

language: python
python:
  - "2.7"

before_install:
  - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.3.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.3.0-Linux-x86_64.sh -O miniconda.sh; fi
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda

install:
  - conda install --yes python=$TRAVIS_PYTHON_VERSION atlas lapack blas numpy scipy matplotlib nose dateutil pandas statsmodels cython scikit-learn
  - pip install cvxopt
  #- "pip install -r requirements.txt"

before_script: "cd src; python setup.py build_ext --inplace"

# command to run tests
script: nosetests

Move scikit learn install to conda.
Move scikit learn install to conda.
