aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-08-30 14:03:33 -0700
committerGitHub <noreply@github.com>2020-08-30 14:03:33 -0700
commitb3f5083b8dc6469e3becd37eb9deb01eb1c33f5d (patch)
treece7de684a577dd8adad87d50ab5456bd42fb1ac8 /ci
parentc6648fe8820003a92e034e7717a86c1e0616ffb0 (diff)
parent65b2fce78765649c64e7b7e0efbc99214fae0805 (diff)
downloadrneovim-b3f5083b8dc6469e3becd37eb9deb01eb1c33f5d.tar.gz
rneovim-b3f5083b8dc6469e3becd37eb9deb01eb1c33f5d.tar.bz2
rneovim-b3f5083b8dc6469e3becd37eb9deb01eb1c33f5d.zip
Merge #12815 'snap: update, fix build issues'
Diffstat (limited to 'ci')
-rwxr-xr-xci/snap/install.sh1
-rwxr-xr-xci/snap/script.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/ci/snap/install.sh b/ci/snap/install.sh
index 23e0bc5eb8..0ceb6f0422 100755
--- a/ci/snap/install.sh
+++ b/ci/snap/install.sh
@@ -4,6 +4,7 @@ set -e
set -o pipefail
sudo apt update
+sudo usermod -aG lxd $USER
sudo /snap/bin/lxd.migrate -yes
sudo /snap/bin/lxd waitready
sudo /snap/bin/lxd init --auto
diff --git a/ci/snap/script.sh b/ci/snap/script.sh
index 647cda4874..f0d45fea00 100755
--- a/ci/snap/script.sh
+++ b/ci/snap/script.sh
@@ -4,5 +4,5 @@ set -e
set -o pipefail
mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
-sudo snapcraft --use-lxd
+sg lxd -c snapcraft