File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Original file line number Diff line number Diff line change 45
45
- TEST_ARGS=--no-pep8
46
46
- NOSE_ARGS="--processes=$NPROC --process-timeout=300"
47
47
- PYTHON_ARGS=
48
+ - DELETE_FONT_CACHE=
48
49
49
50
language : python
50
51
@@ -55,7 +56,7 @@ matrix:
55
56
- python : 3.4
56
57
env : PYTHON_ARGS=-OO
57
58
- python : 3.5
58
- env : PANDAS=pandas NOSE_ARGS=--with-coverage
59
+ env : PANDAS=pandas NOSE_ARGS=--with-coverage DELETE_FONT_CACHE=1
59
60
- python : 3.5
60
61
env : TEST_ARGS=--pep8
61
62
- python : 3.5
@@ -139,10 +140,13 @@ script:
139
140
MPLBACKEND="tkagg" python -c 'import matplotlib.pyplot as plt; print(plt.get_backend())'
140
141
echo The following args are passed to nose $NOSE_ARGS
141
142
if [[ $BUILD_DOCS == false ]]; then
143
+ if [[ $DELETE_FONT_CACHE == 1]]; then
144
+ rm -rf ~/.cache/matplotlib
145
+ fi
142
146
export MPL_REPO_DIR=$PWD # needed for pep8-conformance test of the examples
143
147
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
144
148
python tests.py $NOSE_ARGS $TEST_ARGS
145
- else
149
+ else
146
150
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS tests.py $NOSE_ARGS $TEST_ARGS
147
151
fi
148
152
else
You can’t perform that action at this time.
0 commit comments