Browse Source

Travis CI: Yet another attempt to get IPv6 loopback running

See https://github.com/travis-ci/travis-ci/issues/8361#issuecomment-344798804
bel2125 7 năm trước cách đây
mục cha
commit
6c46a99f41
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -55,12 +55,13 @@ install:
 before_script:
   # Check some settings of the build server (operating system, IPv6 availability, directory)
   - uname -a
+  - lsb_release -a
   - ifconfig
   - cat /etc/network/interfaces
   - if [[ "${ENABLE_IPV6}" == "YES" ]]; then 
       echo "iface lo inet6 loopback" | sudo tee -a /etc/network/interfaces;
       cat /etc/network/interfaces;
-      sudo service network-manager restart;
+      sudo service networking restart;
       ifconfig;
     fi
   - pwd