]> granicus.if.org Git - libexpat/commitdiff
Travis CI: Keep macOS $PATH away from Linux
authorSebastian Pipping <sebastian@pipping.org>
Sun, 27 Jan 2019 15:24:24 +0000 (16:24 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 27 Jan 2019 20:58:15 +0000 (21:58 +0100)
.travis.sh
.travis.yml

index a9034583658748f6bb59ee3549a4c5a2b185e9d7..24c7c3a4d3fa24d3d84bc38ddbd2f2fd75b95cd0 100755 (executable)
 
 set -e
 
+if [[ ${TRAVIS_OS_NAME} = osx ]]; then
+    export PATH="/usr/local/opt/coreutils/libexec/gnubin${PATH:+:}${PATH}"
+fi
+
 PS4='# '
 set -x
 
index b626bdbce47075596ec3d818f39ad02eeead1dd7..d9aa256278f0e32c397ae93d64774c9fa205ed7b 100644 (file)
@@ -17,7 +17,7 @@ git:
 
 env:
   global:
-    - CFLAGS='-g -pipe' PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
+    - CFLAGS='-g -pipe'
   matrix:
     - MODE=address
     - MODE=cmake