mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-16 11:21:25 +08:00
Update travis to better reflect requirements
This commit is contained in:
+9
-11
@@ -57,6 +57,12 @@ before_install:
|
||||
install:
|
||||
- tools/header.py "Dependency versions"
|
||||
- tools/build_versions.py
|
||||
# Matplotlib settings
|
||||
- export MPL_DIR=$HOME/.config/matplotlib
|
||||
- mkdir -p $MPL_DIR
|
||||
- touch $MPL_DIR/matplotlibrc
|
||||
- "echo 'backend : Agg' > $MPL_DIR/matplotlibrc"
|
||||
- "echo 'backend.qt4 : PyQt4' >> $MPL_DIR/matplotlibrc"
|
||||
- export PYTHONWARNINGS=all
|
||||
- python setup.py build_ext --inplace
|
||||
|
||||
@@ -73,22 +79,19 @@ script:
|
||||
|
||||
# Install optional dependencies to get full test coverage
|
||||
# Notes:
|
||||
# - pyfits and imread do NOT support py3.2
|
||||
# - imread does NOT support py3.2
|
||||
# - Use the png headers included in anaconda (from matplotlib install)
|
||||
# TODO: Remove the libm removal when anaconda fixes their libraries
|
||||
# The solution was suggested here
|
||||
# https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/-DLG2ZdTkw0
|
||||
- if [[ $ENV == python=3.2 ]]; then
|
||||
travis_retry sudo apt-get install python3-pyqt4;
|
||||
travis_retry pip install networkx;
|
||||
else
|
||||
travis_retry conda install networkx;
|
||||
sudo cp ~/miniconda/envs/test/include/png* /usr/include;
|
||||
rm ~/miniconda/envs/test/lib/libm-2.5.so;
|
||||
rm ~/miniconda/envs/test/lib/libm.*;
|
||||
sudo apt-get install libtiff4-dev libwebp-dev xcftools;
|
||||
travis_retry pip install imread;
|
||||
travis_retry pip install pyfits;
|
||||
travis_retry pip install pillow;
|
||||
fi
|
||||
- sudo apt-get install libfreeimage3
|
||||
@@ -96,13 +99,8 @@ script:
|
||||
- if [[ $ENV != python=3.4* ]]; then
|
||||
travis_retry easy_install SimpleITK;
|
||||
fi
|
||||
|
||||
# Matplotlib settings
|
||||
- export MPL_DIR=$HOME/.config/matplotlib
|
||||
- mkdir -p $MPL_DIR
|
||||
- touch $MPL_DIR/matplotlibrc
|
||||
- "echo 'backend : Agg' > $MPL_DIR/matplotlibrc"
|
||||
- "echo 'backend.qt4 : PyQt4' >> $MPL_DIR/matplotlibrc"
|
||||
- travis_retry pip install pyamg
|
||||
- travis_retry pip install --no-deps astropy
|
||||
|
||||
- echo -e $SPACER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user