Browse Source

CI: OSX set fixed hostname to avoid discovery_multicast failure

Stefan Profanter 5 years ago
parent
commit
b92e0a8b77
1 changed files with 4 additions and 0 deletions
  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: