open-nomad/scripts/travis-linux.sh

18 lines
487 B
Bash
Raw Normal View History

2017-10-19 04:55:07 +00:00
#!/usr/bin/env bash
set -o errexit
2018-02-01 22:21:28 +00:00
#enable ipv6
echo '{"ipv6":true, "fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
# Ignore apt-get update errors to avoid failing due to misbehaving repo;
# true errors would fail in the apt-get install phase
apt-get update || true
2017-10-19 04:55:07 +00:00
apt-get install -y liblxc1 lxc-dev lxc shellcheck
apt-get install -y qemu
bash ./scripts/travis-rkt.sh
bash ./scripts/travis-consul.sh
bash ./scripts/travis-vault.sh