Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a214bff

Browse filesBrowse files
committed
Delete font cache in one of the configurations
To test rebuilding it
1 parent 84d979b commit a214bff
Copy full SHA for a214bff

File tree

Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ env:
4545
- TEST_ARGS=--no-pep8
4646
- NOSE_ARGS="--processes=$NPROC --process-timeout=300"
4747
- PYTHON_ARGS=
48+
- DELETE_FONT_CACHE=
4849

4950
language: python
5051

@@ -55,7 +56,7 @@ matrix:
5556
- python: 3.4
5657
env: PYTHON_ARGS=-OO
5758
- python: 3.5
58-
env: PANDAS=pandas NOSE_ARGS=--with-coverage
59+
env: PANDAS=pandas NOSE_ARGS=--with-coverage DELETE_FONT_CACHE=1
5960
- python: 3.5
6061
env: TEST_ARGS=--pep8
6162
- python: 3.5
@@ -139,10 +140,13 @@ script:
139140
MPLBACKEND="tkagg" python -c 'import matplotlib.pyplot as plt; print(plt.get_backend())'
140141
echo The following args are passed to nose $NOSE_ARGS
141142
if [[ $BUILD_DOCS == false ]]; then
143+
if [[ $DELETE_FONT_CACHE == 1]]; then
144+
rm -rf ~/.cache/matplotlib
145+
fi
142146
export MPL_REPO_DIR=$PWD # needed for pep8-conformance test of the examples
143147
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
144148
python tests.py $NOSE_ARGS $TEST_ARGS
145-
else
149+
else
146150
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS tests.py $NOSE_ARGS $TEST_ARGS
147151
fi
148152
else

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.