diff --git a/.travis.yml b/.travis.yml index a25b78ff..5cf9ed30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ os: - osx sudo: false dist: trusty +osx_image: xcode10.1 branches: except: @@ -50,7 +51,7 @@ before_install: - export TIMEOUT=50 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then if [ "$CC" == "gcc" ]; then - export CC=$(ls -t /usr/local/bin/gcc-?.?); + export CC=$(ls /usr/local/Cellar/gcc/*/bin/gcc-?); fi export OPENSSL_ROOT=$(echo /usr/local/Cellar/openssl/*); @@ -82,6 +83,7 @@ addons: - openssl - lcov - libtool + - gcc script: