diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b38c459..0eb56db6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,6 +42,10 @@ jobs: working_directory: /go/src/github.com/jesseduffield/lazydocker steps: - checkout + - run: + name: Install snapcraft + command: | + ./.circleci/install_snapcraft.sh - run: name: Run gorelease command: | diff --git a/.circleci/install_snapcraft.sh b/.circleci/install_snapcraft.sh new file mode 100755 index 00000000..a4a79d62 --- /dev/null +++ b/.circleci/install_snapcraft.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +sudo apt-get update + +sudo apt-get install -y \ + squashfs-tools \ + python3-pip \ + python3-apt \ + python3-debian \ + python3-pyelftools \ + python3-yaml \ + python3-tabulate \ + python3-jsonschema \ + python3-click \ + python3-pymacaroons \ + python3-simplejson \ + python3-progressbar \ + python3-requests-toolbelt \ + python3-requests-unixsocket + +sudo pip3 install \ + petname \ + snapcraft + +snapcraft --version