Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d10d33

Browse files
tacaswellQuLogic
authored andcommitted
Merge pull request #6879 from mdboom/delete-font-cache-in-testing
CI: Delete font cache in one of the configurations Conflicts: .travis.yml
1 parent 848cfe5 commit 7d10d33

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ env:
4141
- PANDAS=
4242
- NPROC=2
4343
- TEST_ARGS=--no-pep8
44+
- DELETE_FONT_CACHE=
4445

4546
language: python
4647

@@ -50,7 +51,7 @@ matrix:
5051
env: MOCK=mock NUMPY=numpy==1.6
5152
- python: 3.4
5253
- python: 3.5
53-
env: PANDAS=pandas
54+
env: PANDAS=pandas DELETE_FONT_CACHE=1
5455
- python: 2.7
5556
env: TEST_ARGS=--pep8
5657
- python: 2.7
@@ -123,6 +124,9 @@ script:
123124
echo Testing using $NPROC processes
124125
echo The following args are passed to nose $NOSE_ARGS
125126
if [[ $BUILD_DOCS == false ]]; then
127+
if [[ $DELETE_FONT_CACHE == 1 ]]; then
128+
rm -rf ~/.cache/matplotlib
129+
fi
126130
export MPL_REPO_DIR=$PWD # needed for pep8-conformance test of the examples
127131
gdb -return-child-result -batch -ex r -ex bt --args python tests.py -s --processes=$NPROC --process-timeout=300 $TEST_ARGS
128132
else

0 commit comments

Comments
 (0)