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

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Upload test result images to Amazon S3
  • Loading branch information
mdboom committed Aug 15, 2013
commit e0ca61b26a29cb8466efde28415effc3a2b0650a
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
env:
global:
- ARTIFACTS_AWS_REGION=us-east-1
- ARTIFACTS_S3_BUCKET=matplotlib-test-results
- secure: RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
- secure: E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=

before_script:
- gem install travis-artifacts

language: python

python:
Expand All @@ -23,3 +33,12 @@ script:
# multiple processes
- python -c "from matplotlib import font_manager"
- python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300

after_failure:
- cd ../tmp_test_dir
- echo Compressing results...
- tar cjf result_images.tar.bz2 result_images
- echo Uploading results...
- travis-artifacts upload --path result_images.tar.bz2
- 'echo Test results available at:'
- echo https://s3.amazonaws.com/matplotlib-test-results/artifacts/${TRAVIS_BUILD_NUMBER}/${TRAVIS_JOB_NUMBER}/matplotlib-results.tar.bz2