Browse Source

Travis CI: Try to set "sudo: false" (test for IPv6)

Travis CI is shutting down the "dist: precise" build environment
https://blog.travis-ci.com/2017-08-31-trusty-as-default-status
It seems there are problems with the "sudo: required" container
when testing IPv6
bel2125 7 years ago
parent
commit
ac3b3de04e
1 changed files with 4 additions and 2 deletions
  1. 4 2
      .travis.yml

+ 4 - 2
.travis.yml

@@ -1,6 +1,6 @@
 language: c
 
-#sudo: false      # dist=precise + sudo=false may be discontinued
+sudo: false      # dist=precise + sudo=false may be discontinued
 #sudo: required   # sudo is not required, keep the default
 
 dist: precise
@@ -42,9 +42,11 @@ install:
     fi
 
 before_script:
-  # Check some settings of the build server
+  # Check some settings of the build server (operating system, IPv6 availability, directory)
   - uname -a
+  - ifconfig
   - pwd
+  - ls -la
   - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
       apt-cache search gcc | grep "GNU C compiler";
       apt-cache search clang | grep compiler;