Skip to content

Commit e3058b3

Browse files
committed
fix the osx platform in the testing matrix (the Homebrew had some incompatible changes recently)
1 parent 0a06991 commit e3058b3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ script:
1212
- echo $TRAVIS_OS_NAME
1313
- echo $CC
1414
- cc --version
15-
- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then brew update; brew install grep --with-default-names; fi
16-
- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then brew install gnu-sed --with-default-names; fi
15+
- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then brew update; brew install grep;export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"; fi
16+
- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then brew install gnu-sed;export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"; fi
1717
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then sudo apt-get install -qq -y libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make build-essential valgrind gcc-multilib g++-multilib libc6-dbg libc6-dbg:i386 ; fi
1818
- date
19+
- grep -V
20+
- sed --version
1921
- export EXTRA_CFLAGS=""
2022
- echo ""
2123
- bash test.sh version_check=1.2.4
@@ -58,3 +60,6 @@ matrix:
5860
- llvm-toolchain-trusty-3.5
5961
packages:
6062
- clang-3.5
63+
- os: osx
64+
osx_image: xcode8.3
65+
compiler: clang

0 commit comments

Comments
 (0)