Created
July 7, 2016 05:59
-
-
Save evandandrea/fa672e515099db67a6d768c892b2e5a3 to your computer and use it in GitHub Desktop.
Publish to the snap store from Travis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo: required | |
dist: trusty | |
env: | |
global: | |
secure: <redacted> | |
services: | |
- docker | |
language: python | |
python: | |
- '3.5' | |
install: | |
- sudo add-apt-repository ppa:facundo/salty -y | |
- sudo apt-get update -q | |
- sudo apt-get install libsodium13 -y | |
- pip3 install snapstore-publish | |
script: | |
- docker run -v $(pwd):/snapcraft didrocks/snapcraft sh -c 'cd /snapcraft; snapcraft' | |
cache: | |
- "$HOME/.snapstore-publish-macaroon.enc" | |
after_success: | |
- "snapstore-publish --name <your-snap> --series 16 --channel beta *.snap" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment