Skip to content

Commit

Permalink
Add ability to auto-deploy
Browse files Browse the repository at this point in the history
The use-case for this feature is small changes that do not
necessarily need to be tested on stage, such as adding new
histograms to `main_summary`.
  • Loading branch information
fbertsch committed May 6, 2018
1 parent a1fc617 commit c004838
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,19 @@ script:
before_deploy:
- export JAR="target/scala-2.11/telemetry-batch-view-1.1.jar"
- docker-run ./run-sbt.sh assembly
- git config --local user.name "Auto Deployer"
- git config --local user.email "[email protected]"
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"

deploy:
- provider: releases
skip_cleanup: true
api_key:
secure: Kac5/sXg9TM8cBHrwNch78UiVTl4aA2KQ9jnv0vipUzi341XfmO3EbdEnSCWN+ew39Pc+tAR+nOB+e/AHbOyFjJ5gggA3Z/3UWPYse/8iIPcRs8GC55KfprDrVkD8HO3pPzOXOyDtn64Y6z3cQXGj110QKfPjG6v+LHzNDSl1oxZB7f8bnoNEom5WxZCMAvZO3odbrnKPP333gPpjtmXfe24WlPqBMg3FN+RJMy1lz+bjlDB0hd1qbVdUO3DYivodcn/q1Sdp98EipwCWnOq3JqrmfDhf9rRL1UnSC+WsbcxJL73ee36EkNORSTYVFzhfoSRmNlhqNgGI8DdDhO654fKecXPiWDHyZw+cF/DQHsvmSk5zr5VobeqyByM9cqFj+5gs3RN3CI2UaUbceRwuerwpuFCAVt2WHSw2heYeOlmoLNX2+HFYPCXFJOkzQ5pZl5fEsc280riU/9wlvNfLhKTIJNyP3n3OlU/YlU0FYfR2jF637KAhLX9z8LxY1aEcdcAI7sWCz5jyMGRwvCS7prRneg1ouPn+bUSab7+GMi8F3Rdf1qWZx8IivpXiOw3MubsLLBeXep+PbE70n6AFB68ThgKEAhJsJpqtZKbqpz3w+w6iOe9Ig85P+WdXTK7zC4itWzZfEihk8TTGzerlSHgpMR9lBgvkzJkFY3MQqI=
on:
repo: mozilla/telemetry-batch-view
condition: $TRAVIS_COMMIT_MESSAGE == *"[auto-deploy]"*
branch: master
- provider: script
script: bash deploy.sh
skip_cleanup: true
Expand Down

0 comments on commit c004838

Please sign in to comment.