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

View File

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