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

Skip to content

Commit ccdc96d

Browse files
committed
Remove Travis remnants.
1 parent 92b4bc3 commit ccdc96d

File tree

5 files changed

+3
-285
lines changed

5 files changed

+3
-285
lines changed

.travis.yml

Lines changed: 0 additions & 208 deletions
This file was deleted.

ci/osx-deps

Lines changed: 0 additions & 65 deletions
This file was deleted.

lib/matplotlib/tests/test_backend_tk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import pytest
66

7-
_test_timeout = 10 # Empirically, 1s is not enough on Travis.
7+
_test_timeout = 10 # Empirically, 1s is not enough on CI.
88

99
# NOTE: TkAgg tests seem to have interactions between tests,
1010
# So isolate each test in a subprocess. See GH#18261

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _get_testable_interactive_backends():
6262
return backends
6363

6464

65-
_test_timeout = 10 # Empirically, 1s is not enough on Travis.
65+
_test_timeout = 10 # Empirically, 1s is not enough on CI.
6666

6767

6868
# The source of this function gets extracted and run in another process, so it
@@ -161,9 +161,6 @@ def test_interactive_backend(backend, toolbar):
161161
if backend == "macosx":
162162
if toolbar == "toolmanager":
163163
pytest.skip("toolmanager is not implemented for macosx.")
164-
if toolbar == "toolbar2" and os.environ.get('TRAVIS'):
165-
# See https://github.com/matplotlib/matplotlib/issues/18213
166-
pytest.skip("toolbar2 for macosx is buggy on Travis.")
167164

168165
proc = subprocess.run(
169166
[sys.executable, "-c",

lib/matplotlib/tests/test_font_manager.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import numpy as np
1010
import pytest
1111

12-
from matplotlib import font_manager as fm
1312
from matplotlib.font_manager import (
1413
findfont, findSystemFonts, FontProperties, fontManager, json_dump,
1514
json_load, get_font, get_fontconfig_fonts, is_opentype_cff_font,
@@ -111,12 +110,7 @@ def test_utf16m_sfnt():
111110
def test_find_ttc():
112111
fp = FontProperties(family=["WenQuanYi Zen Hei"])
113112
if Path(findfont(fp)).name != "wqy-zenhei.ttc":
114-
if not os.environ.get("TRAVIS") or sys.platform != "linux":
115-
pytest.skip("Font may be missing")
116-
# Travis appears to fail to pick up the ttc file sometimes. Try to
117-
# rebuild the cache and try again.
118-
fm._rebuild()
119-
assert Path(findfont(fp)).name == "wqy-zenhei.ttc"
113+
pytest.skip("Font may be missing")
120114

121115
fig, ax = plt.subplots()
122116
ax.text(.5, .5, "\N{KANGXI RADICAL DRAGON}", fontproperties=fp)

0 commit comments

Comments
 (0)