Skip to content

Commit

Permalink
Added test data cycling on S3 by Travis build number
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Jan 28, 2016
1 parent e40b95c commit 28e341b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install:
- python setup.py install
- pip install git+git://github.com/ioam/param.git
- pip install path.py
- pip install coveralls
- pip install coveralls awscli

before-script:
- "echo 'backend : Agg' > $HOME/.matplotlib/matplotlibrc"
Expand Down Expand Up @@ -66,9 +66,11 @@ deploy:
region: eu-west-1
bucket: "preview.holoviews.org"
local_dir: ./doc/test_data
upload-dir: $TRAVIS_BUILD_NUMBER
skip_cleanup: true

after_success: coveralls

after_deploy:
- 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))

0 comments on commit 28e341b

Please sign in to comment.