Skip to content

Commit

Permalink
Enable automatic snapcraft push to "edge" channel
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jul 19, 2017
1 parent a636154 commit 69f05c2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file added .snapcraft/travis_snapcraft.cfg
Binary file not shown.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sudo: required
services:
- postgresql
- mysql
- docker

env:
global:
Expand Down Expand Up @@ -62,3 +63,17 @@ cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

after_success:
- openssl aes-256-cbc -K $encrypted_5f91cda8b19d_key -iv $encrypted_5f91cda8b19d_iv
-in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d

# snapcraft
deploy:
'on':
branch: snapcraft
provider: script
script: docker run -v $(pwd):$(pwd) -t ubuntu:xenial sh -c "apt update -qq && apt
install snapcraft -y && cd $(pwd) && snapcraft && snapcraft push *.snap --release
edge"
skip_cleanup: true

0 comments on commit 69f05c2

Please sign in to comment.