Files
scikit-image/tools/travis_setup.sh
T
2014-10-12 17:05:44 -05:00

25 lines
709 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
sh -e /etc/init.d/xvfb start
sudo apt-get update
pip install wheel flake8 coveralls nose
pip uninstall -y numpy
# on Python 2.7, use the system versions of numpy, scipy, and matplotlib
# and the minimum version of cython and networkx
if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then
sudo apt-get install python-scipy python-matplotlib
pip install https://github.com/cython/cython/archive/0.19.2.tar.gz
pip install https://github.com/networkx/networkx/archive/networkx-1.8.tar.gz
fi
pip install $WHEELHOUSE numpy
pip install tifffile
pip install -r requirements.txt $WHEELHOUSE
python check_bento_build.py
tools/header.py "Dependency versions"
tools/build_versions.py