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 38e559b

Browse filesBrowse files
tacaswelljenshnielsen
authored andcommitted
TST : move coverage output where coveralls expects
We run tests out-of-repo which is to ensure that we pick up the installed version of mpl, not version which happens to be in the current directory (but I am not sure we strictly need this any more now that absolute imports are a thing). The coveralls scripts assume that you are running your tests _in_ the repo and are trying to extract git information from the directory they are run in, hence are failing for everything but the doc builds (which don't run nose so have no coverage). This exclude the doc build from uploading to coveralls and moves the cover output to be where coveralls expects it to be (and cds back into the repo).
1 parent e5cf550 commit 38e559b
Copy full SHA for 38e559b

File tree

Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,10 @@ after_success:
165165
fi
166166
fi
167167
fi
168-
coveralls
168+
if [[ $BUILD_DOCS == false ]]; then
169+
# account for us running the test out-of-repo and coveralls expects in-repo
170+
# tests
171+
mv cover .coverage ../matplotlib
172+
cd ../matplotlib
173+
coveralls
174+
fi

0 commit comments

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