# die on error
set -e

sudo apt-get update

sudo apt-get -y install libatlas-base-dev libatlas-dev lib{blas,lapack}-dev gfortran
sudo pip install conda
conda_deps='pip numpy scipy'
conda create -p $HOME/py --yes $conda_deps "python=$TRAVIS_PYTHON_VERSION"
pip install -r requirements.txt
python setup.py build_ext --inplace
export PATH=$HOME/py/bin:$PATH

echo 'Host github.com
  StrictHostKeyChecking no
' >> ~/.ssh/config

mkdir ~/git
(
    cd ~/git
    git clone https://github.com/seomoz/vocab.git
    (
        cd ~/git/vocab
        pip install -r requirements.txt
		pip install auxlib
        python setup.py install
    )
)


# die on error
set -e

sudo apt-get update

sudo apt-get -y install libatlas-base-dev libatlas-dev lib{blas,lapack}-dev gfortran
sudo pip install conda
conda_deps='pip numpy scipy'
conda create -p $HOME/py --yes $conda_deps "python=$TRAVIS_PYTHON_VERSION"
pip install -r requirements.txt
python setup.py build_ext --inplace
export PATH=$HOME/py/bin:$PATH

echo 'Host github.com
  StrictHostKeyChecking no
' >> ~/.ssh/config

mkdir ~/git
(
    cd ~/git
    git clone https://github.com/seomoz/vocab.git
    (
        cd ~/git/vocab
        pip install -r requirements.txt
        python setup.py install
    )
)


Revert "fix for travis/conda build issue"
Revert "fix for travis/conda build issue"

This reverts commit 3070ca88144956e206f38cd7c6a131d1e8c8471b.
