diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-09-12 19:29:12 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-09-12 23:08:10 -0700 |
commit | 2c265380d78ba69ab95a79226f0ad6132f0e6970 (patch) | |
tree | 4d67c5452116a46842d06689a0b848bf194f249b /.travis.yml | |
parent | e8da11a5c45dd03da19d3358e2e6ff88f4046e14 (diff) |
travis: enable ipv6 manually
IPv6 is disabled by default on travis-ci env
https://github.com/travis-ci/packer-templates/pull/228
https://blog.travis-ci.com/2016-08-16-gce-images-precise-trusty-outage/
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to '.travis.yml')
-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: |