#!/bin/bash
if [ $TRAVIS_OS_NAME == 'osx' ]; then
  export PATH="$HOME/miniconda/bin:$PATH"
  source $HOME/miniconda/bin/activate
  ## Somehow we need this to execute the setup.py at all...
  #pip install numpy
fi

## setuptools < 18.0 has issues with Cython as a dependency
#pip install Cython
#if [ $? != 0 ]; then
#    exit 1
#fi

# deps #FIXME: do better
pip install pytest
pip install pytest-cov
pip install coveralls

pip install pyyaml
pip install numpy
pip install scipy
pip install pandas
pip install xarray
pip install scikit-learn
pip install matplotlib
pip install seaborn
# NOTE: one day they shall fix this (sigh!)
pip install Cython
#pip install bhtsne
# Google API tests are only local anyway
#pip install google-api-python-client
#pip install pkgconfig
#pip install pybind11
#pip install lshknn
#pip install numba
#pip install umap-learn
pip install sam-algorithm

# old setuptools also has a bug for extras, but it still compiles
pip install -v '.'
if [ $? != 0 ]; then
    exit 1
fi

#!/bin/bash
if [ $TRAVIS_OS_NAME == 'osx' ]; then
  export PATH="$HOME/miniconda/bin:$PATH"
  source $HOME/miniconda/bin/activate
  ## Somehow we need this to execute the setup.py at all...
  #pip install numpy
fi

## setuptools < 18.0 has issues with Cython as a dependency
#pip install Cython
#if [ $? != 0 ]; then
#    exit 1
#fi

# deps #FIXME: do better
pip install pytest
pip install pytest-cov
pip install coveralls

pip install pyyaml
pip install numpy
pip install scipy
pip install pandas
pip install xarray
pip install loom
pip install scikit-learn
pip install matplotlib
pip install seaborn
# NOTE: one day they shall fix this (sigh!)
pip install Cython
#pip install bhtsne
# Google API tests are only local anyway
#pip install google-api-python-client
#pip install pkgconfig
#pip install pybind11
#pip install lshknn
#pip install numba
#pip install umap-learn
pip install sam-algorithm

# old setuptools also has a bug for extras, but it still compiles
pip install -v '.'
if [ $? != 0 ]; then
    exit 1
fi

Add loom to deps for CI
Add loom to deps for CI
