-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
19 lines (19 loc) · 888 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: ruby
rvm:
- 2.2.0
install:
- bundle install --local --jobs=3 --retry=3 --deployment
deploy:
provider: heroku
api_key:
secure: Bm9Wx/Ngd0DyZQcJgkAn2CGdW556u3sEC+dydESOwQYz3qYW8Q4ag56VP+bueC/rBsfK8PUUhwauNCwg023xSNUOr8QYiXlK6WYvQlF81R9fXldMBGkEPlYY4w2UuVQJ9X8CQyecBfEcepQTB3c1kik85JtIuwoE65b74tn5QVA=
app: canadiaweather
env:
global:
secure: hqhrpC91wSsyT24BKT2NM+tUaEVC+RX2gV5IjwjqxyAU2iWQfeRXJ8PC8SxSJc50Vjo+paejX0JlEycd415AVFXTl/iY+QUZaFQSuTdCxR+6+ggf5F6ytm7QvkxLE/Ttc5FWGpF2Bxj95aAVryP8LYZJDoTlZlWe0FlzIfwTml4=
before_deploy:
- echo "Stand back! High tech cybering starting!"
after_deploy:
- echo "Setting the sha"
- >
curl -n -H "Authorization: Bearer $HEROKU_API_KEY" -X PATCH https://api.heroku.com/apps/canadiaweather/config-vars -H "Accept: application/vnd.heroku+json; version=3" -H "Content-Type: application/json" -d '{"SHA":"'"$TRAVIS_COMMIT"'"}'