<div dir="ltr"><div>New versions of snapcraft can push a snap right into a channel. With a small wrapper, you can teach Travis to build snaps out of your git commits and release them into edge [1, 2]:</div><a href="https://gist.github.com/evandandrea/c754964bfdfb176844f26f605ebbb8db">https://gist.github.com/evandandrea/c754964bfdfb176844f26f605ebbb8db</a><br><div><br></div><div>Your users can then drink from the firehose with:</div><div>$ snap refresh --channel=edge your-snap-name</div><div><br></div><div>And jump back when they can no longer take the heat:</div><div>$ snap refresh --channel=stable your-snap-name</div><div><br></div><div>Let me know if you find this useful or have any follow up questions.</div><div><br></div><div>Thanks,</div><div>Evan</div><div><br></div><div>1: This uses a macaroon you provide (`snapcraft login`), but encrypts the cached copy such that pull requests cannot steal it.</div><div>2: In this example I used an "edge" git branch, but you can easily modify .travis.sh to send commits on master, or any branch, to the edge channel.</div></div>