URL: https://github.com/freeipa/freeipa/pull/1395 Author: tiran Title: #1395: Travis: Add workaround for missing IPv6 support Action: opened
PR body: """ Latest Travis CI image lacks IPv6 address on localhost. Use image from old group. Signed-off-by: Christian Heimes <chei...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1395/head:pr1395 git checkout pr1395
From 3dfb81596009c8095c98d345e57e8364ed393a34 Mon Sep 17 00:00:00 2001 From: Christian Heimes <chei...@redhat.com> Date: Wed, 13 Dec 2017 09:33:49 +0100 Subject: [PATCH] Travis: Add workaround for missing IPv6 support Latest Travis CI image lacks IPv6 address on localhost. Use image from old group. Signed-off-by: Christian Heimes <chei...@redhat.com> --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.travis.yml b/.travis.yml index d6fbb553c8..cf71875af7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ language: python services: - docker +# workaround for missing IPv6 address support +# https://github.com/travis-ci/travis-ci/issues/8891 +sudo: required +dist: trusty +group: deprecated-2017Q4 python: - "3.6" @@ -48,6 +53,13 @@ env: test_xmlrpc/test_[l-z]*.py" - TASK_TO_RUN="tox" TEST_RUNNER_CONFIG=".test_runner_config.yaml" + +before_install: + - ip addr show + - ls /proc/net + - cat /proc/net/if_inet6 + - ip addr show dev lo | grep -q inet6 || (echo "No IPv6 address found"; exit 1) + install: - pip3 install --upgrade pip - pip3 install pycodestyle
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org