sudo: false      
language: pythons
python:
    - "2.7"
cache: apt
addons:
    apt:
      packages:
        - libatlas-dev
        - libatlas-base-dev
        - liblapack-dev
        - gfortran
before_install:
    - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
    - bash miniconda.sh -b -p $HOME/miniconda
    - export PATH="$HOME/miniconda/bin:$PATH"
    - conda update --yes conda
install: 
    - conda create -n test-environment
    - source activate test-environment
    - conda install --yes pip numpy scipy
    - pip install -r requirements.txt
script: 
    - python setup.py test
sudo: false      
language: pythons
python:
    - "2.7"
cache: apt
addons:
    apt:
      packages:
        - libatlas-dev
        - libatlas-base-dev
        - liblapack-dev
        - gfortran
before_install:
    - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
    - bash miniconda.sh -b -p $HOME/miniconda
    - export PATH="$HOME/miniconda/bin:$PATH"
    - conda update --yes conda
install: 
    - conda create -n test-environment python=$TRAVIS_PYTHON_VERSION
    - source activate test-environment
    - conda install --yes pip numpy scipy
    - pip install -r requirements.txt
script: 
    - python setup.py test
Revert "Fixed creation of virtual environment"
Revert "Fixed creation of virtual environment"

This reverts commit ea0de0c60e4071b45fd6190b78e9c6a8840f01ac.
