diff options
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 1667ab8a..9ce91ab5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: go sudo: required -dist: trusty services: - docker @@ -20,12 +19,8 @@ env: - SCENARIO=true before_install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo sh -c 'echo "deb http://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list'; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get remove --purge -y --force-yes docker-engine; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -y --force-yes install docker-engine=1.8.3-0~trusty; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo docker -v; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0; fi matrix: allow_failures: |