mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 02:01:00 +08:00
Set matplotlib backend globally
This commit is contained in:
+1
-1
@@ -26,11 +26,11 @@ install:
|
||||
- sudo $PYTHON setup.py install
|
||||
script:
|
||||
# Change into an innocuous directory and find tests from installation
|
||||
- "echo 'backend : Agg' > $HOME/.matplotlib/matplotlibrc"
|
||||
- mkdir for_test
|
||||
- cd for_test
|
||||
- nosetests-$PYVER --exe -v --cover-package=skimage skimage
|
||||
# Change back to repository root directory and run all doc examples
|
||||
- cd ..
|
||||
- "echo 'backend : Agg' > matplotlibrc"
|
||||
- for f in doc/examples/*.py; do $PYTHON "$f"; if [ $? -ne 0 ]; then exit $?; fi done
|
||||
- flake8 --exit-zero skimage doc/examples viewer_examples
|
||||
|
||||
Reference in New Issue
Block a user