8000 Merge branch 'v2.x' · matplotlib/matplotlib@9ab39e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9ab39e4

Browse files
committed
Merge branch 'v2.x'
2 parents a1e1fc2 + 0680adb commit 9ab39e4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
sudo: false
22

3+
cache:
4+
directories:
5+
- $HOME/.ccache
6+
- $HOME/.cache/pip
7+
38
addons:
49
apt:
510
packages:
@@ -54,12 +59,15 @@ before_install:
5459
# Install into our own pristine virtualenv
5560
- virtualenv --python=python venv
5661
- source venv/bin/activate
62+
- export PATH=/usr/lib/ccache:$PATH
5763

5864
install:
65+
- ccache -s
5966
# Upgrade pip and setuptools. Mock has issues with the default version of
6067
# setuptools
6168
- |
6269
pip install --upgrade pip
70+
pip install --upgrade wheel
6371
pip install --upgrade setuptools
6472
# Install only from travis wheelhouse
6573
- if [ -z "$PRE" ]; then

lib/matplotlib/tests/test_backend_svg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ def test_determinism():
151151
plots = []
152152
for i in range(3):
153153
check_call([sys.executable, '-R', '-c',
154+
'import matplotlib; '
155+
'matplotlib.use("svg"); '
154156
'from matplotlib.tests.test_backend_svg '
155157
'import _test_determinism;'
156158
'_test_determinism("determinism.svg")'])

0 commit comments

Comments
 (0)
0