← Back to issue list

Support CircleCI for building

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1693451
Type
issue
State
open
Author
~popey
Labels
integrations
Created
2017-05-25 09:03:25.410515+00:00
Updated
2017-05-26 12:54:32.831847+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

CircleCI is an awesome alternative to travis for CI. https://circleci.com Using a simple .circleci/config.yml (below) you can have circleci use an Ubuntu 16.04 image to build using snapcraft, however we don't currently have support for adding the store credentials in the same way we do for travis. CircleCi supports using encrypted credentials. I documented how I got that working at https://forum.snapcraft.io/t/building-pushing-snaps-using-circleci https://github.com/circleci/encrypted-files version: 2 jobs: build: working_directory: ~/emoji machine: true steps: - checkout - run: command: | sudo apt update sudo apt install -y snapd sudo snap install snapcraft --edge --classic /snap/bin/snapcraft - deploy: name: Push Master to Snap Store command: | openssl aes-256-cbc -d -in .snapcraft/snapcraft.encrypted -out .snapcraft/snapcraft.cfg -k $KEY /snap/bin/snapcraft push *.snap

Evaluation history

No evaluation history available.