mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Travis improvements
* Add Travis notifications * Adjust automatic snap deployment configuration Travis now has a documented[1] "snap" provider and the previous experimental mechanism seems to have stopped working, presumably because it was deprecated in favour of this new mechanism. [1] https://docs.travis-ci.com/user/deployment/snaps/
This commit is contained in:
@@ -22,8 +22,11 @@ services:
|
||||
deploy:
|
||||
'on':
|
||||
branch: master
|
||||
provider: script
|
||||
script: |
|
||||
openssl aes-256-cbc -K $encrypted_edc9d3b1405a_key -iv $encrypted_edc9d3b1405a_iv -in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
|
||||
docker run -v $(pwd):$(pwd) -t snapcore/snapcraft sh -c "cd $(pwd) && snapcraft push *.snap --release edge"
|
||||
provider: snap
|
||||
snap: certbot_*.snap
|
||||
channel: edge
|
||||
skip_cleanup: true
|
||||
notifications:
|
||||
email:
|
||||
recipients: [robie.basak@canonical.com]
|
||||
on_failure: change
|
||||
|
||||
Reference in New Issue
Block a user