mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
65b2fce787
Snapcraft 4.0 complains about running LXD builds under sudo. So instead add the CI user to the "lxd" group and use sg to switch to that membership. Resolves: #12712
9 lines
107 B
Bash
Executable File
9 lines
107 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
|
|
sg lxd -c snapcraft
|
|
|