Skip to content

Commit

Permalink
Zipping Travis test_data before uploading to S3
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 30, 2016
1 parent 089a30f commit 29416be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ script:
- coverage combine

after_script:
- aws s3 cp --recursive --region eu-west-1 ./doc/test_data "s3://preview.holoviews.org/$TRAVIS_BUILD_NUMBER"
- zip -r test_data.zip doc/test_data/
- aws s3 cp --region eu-west-1 ./test_data.zip "s3://preview.holoviews.org/$TRAVIS_BUILD_NUMBER/test_data.zip"
- aws s3 cp --recursive --region eu-west-1 ./doc/test_html "s3://travis.holoviews.org/build_$TRAVIS_BUILD_NUMBER"
- curl -s -X GET "https://kq5y73i0xe.execute-api.eu-west-1.amazonaws.com/dev/travis-index"
- aws s3 rm --recursive --region eu-west-1 s3://preview.holoviews.org/$(($TRAVIS_BUILD_NUMBER - 4))
Expand Down

0 comments on commit 29416be

Please sign in to comment.