Explorar el Código

CI: OSX set fixed hostname to avoid discovery_multicast failure

Stefan Profanter hace 5 años
padre
commit
b92e0a8b77
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      .travis.yml

+ 4 - 0
.travis.yml

@@ -223,6 +223,10 @@ matrix:
 # OSX clang build
     - os: osx
       compiler: clang
+      # OSX may have different hostnames between processes, which causes multicast unit test to fail.
+      # Hardcode the hostname here
+      addons:
+        hostname: travis-osx
       # disable homebrew auto update which takes a lot of time
       env: HOMEBREW_NO_AUTO_UPDATE=1
       cache: