github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/scripts/travis-linux.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  set -o errexit
     4  
     5  #enable ipv6
     6  echo '{"ipv6":true, "fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
     7  sudo service docker restart
     8  
     9  # Ignore apt-get update errors to avoid failing due to misbehaving repo;
    10  # true errors would fail in the apt-get install phase
    11  apt-get update || true
    12  
    13  apt-get install -y qemu shellcheck
    14  bash ./scripts/travis-rkt.sh
    15  bash ./scripts/travis-consul.sh
    16  bash ./scripts/travis-vault.sh