From 9a6787c87250ca9b3db5712cf557909d58ad6e70 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Fri, 5 Apr 2019 09:28:22 +0200 Subject: [PATCH] Properly set up GCC on OS X --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 66a4893b..1de9ed98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,9 +20,12 @@ matrix: homebrew: packages: - astyle - - gcc@8 + - gcc before_install: - pip3 install -r requirements.txt + - export PATH="/usr/local/bin:$PATH" + - ln -s /usr/local/Cellar/gcc/8.3.0/bin/gcc-8 /usr/local/bin/gcc + - ln -s /usr/local/Cellar/gcc/8.3.0/bin/cpp-8 /usr/local/bin/cpp - gcc --version script: - "cd test && python3 -m nose --rednose --verbose"