Skip to content

Commit

Permalink
Clean up S3 after build
Browse files Browse the repository at this point in the history
  • Loading branch information
soffokl committed Nov 9, 2018
1 parent feb3288 commit 610af1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -18,6 +18,14 @@ before_install:
jq -r '( first(.[] | select(.prerelease == true)) ) | .tag_name');
fi

after_success:
- bin/s3 rm --recursive s3://build-artifacts/$TRAVIS_BUILD_NUMBER
- bin/s3 rm --recursive s3://docker-images/$TRAVIS_BUILD_NUMBER

after_failure:
- bin/s3 rm --recursive s3://build-artifacts/$TRAVIS_BUILD_NUMBER
- bin/s3 rm --recursive s3://docker-images/$TRAVIS_BUILD_NUMBER

cache:
directories:
- vendor
Expand Down

0 comments on commit 610af1c

Please sign in to comment.