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

Skip to content

Commit b484dcb

Browse files
committed
Test PEP8 stuff in separate Travis build.
1 parent aa3a9a5 commit b484dcb

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.travis.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ env:
55
- secure: RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
66
- secure: E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
77

8+
- TEST_COMMAND="python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300"
9+
810
before_script:
911
- gem install travis-artifacts
1012

@@ -16,6 +18,19 @@ python:
1618
- 3.3
1719
- 3.4
1820

21+
matrix:
22+
include:
23+
- python: 2.6
24+
25+
- python: 2.7
26+
27+
- python: 3.3
28+
29+
- python: 3.4
30+
31+
- python: 2.7
32+
env: TEST_COMMAND="nosetests matplotlib.tests.test_coding_standards"
33+
1934
install:
2035
- pip install -q --use-mirrors nose python-dateutil numpy pep8 pyparsing pillow
2136
- sudo apt-get update && sudo apt-get -qq install inkscape libav-tools
@@ -31,7 +46,7 @@ script:
3146
# Generate the font caches in a single process before starting the
3247
# multiple processes
3348
- python -c "from matplotlib import font_manager"
34-
- python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300
49+
- $(TEST_COMMAND)
3550

3651
after_failure:
3752
- tar cjf result_images.tar.bz2 result_images

lib/matplotlib/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,6 @@ def tk_window_focus():
13251325
'matplotlib.tests.test_basic',
13261326
'matplotlib.tests.test_bbox_tight',
13271327
'matplotlib.tests.test_cbook',
1328-
'matplotlib.tests.test_coding_standards',
13291328
'matplotlib.tests.test_collections',
13301329
'matplotlib.tests.test_colorbar',
13311330
'matplotlib.tests.test_colors',

0 commit comments

Comments
 (0)