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 b44bdfe

Browse filesBrowse files
committed
Merge pull request matplotlib#2301 from mdboom/travis-artifacts
Upload test result images to Amazon S3
2 parents 161c02b + e0ca61b commit b44bdfe
Copy full SHA for b44bdfe

File tree

Expand file treeCollapse file tree

1 file changed

+19
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-0
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
env:
2+
global:
3+
- ARTIFACTS_AWS_REGION=us-east-1
4+
- ARTIFACTS_S3_BUCKET=matplotlib-test-results
5+
- secure: RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
6+
- secure: E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
7+
8+
before_script:
9+
- gem install travis-artifacts
10+
111
language: python
212

313
python:
@@ -23,3 +33,12 @@ script:
2333
# multiple processes
2434
- python -c "from matplotlib import font_manager"
2535
- python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300
36+
37+
after_failure:
38+
- cd ../tmp_test_dir
39+
- echo Compressing results...
40+
- tar cjf result_images.tar.bz2 result_images
41+
- echo Uploading results...
42+
- travis-artifacts upload --path result_images.tar.bz2
43+
- 'echo Test results available at:'
44+
- echo https://s3.amazonaws.com/matplotlib-test-results/artifacts/${TRAVIS_BUILD_NUMBER}/${TRAVIS_JOB_NUMBER}/matplotlib-results.tar.bz2

0 commit comments

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