Install multilog automatically on a CI machine

This commit is contained in:
Michael Vines 2018-09-07 11:56:23 -07:00
parent f4947236dc
commit 533ebc17f2
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 5 additions and 2 deletions

View File

@ -44,8 +44,11 @@ set -x
echo --- checking for multilog
if [[ ! -x /usr/bin/multilog ]]; then
echo "multilog not found, install with: sudo apt-get install -y daemontools"
exit 1
if [[ -n $CI ]]; then
echo "multilog not found, install with: sudo apt-get install -y daemontools"
exit 1
fi
sudo apt-get install -y daemontools
fi
echo --- build: $SNAP_CHANNEL channel