Merge pull request #96 from jesseduffield/ci-snap

CI snapcraft installation
This commit is contained in:
Dawid Dziurla 2019-07-05 09:55:03 +02:00 committed by GitHub
commit dc87228ab6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -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: |

25
.circleci/install_snapcraft.sh Executable file
View file

@ -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