mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-29 01:59:36 +08:00
27 lines
718 B
Bash
Executable File
27 lines
718 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 -r requirements.txt $WHEELHOUSE
|
|
python check_bento_build.py
|
|
|
|
tools/header.py "Dependency versions"
|
|
tools/build_versions.py
|
|
|
|
# clean up disk space
|
|
sudo apt-get clean
|
|
sudo rm -r /tmp/*
|