From eb08730d277f61e0344c35c9e450fb86fb54503a Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Fri, 5 Apr 2019 13:38:02 +0200 Subject: [PATCH] Use brew link to install gcc in a more predictable place --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f54de06..6d7d3780 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,11 +20,12 @@ matrix: homebrew: packages: - astyle - - gcc + - gcc@8 before_install: - pip3 install -r requirements.txt + - brew link gcc - 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/bin/gcc-8 /usr/local/bin/gcc - gcc --version script: - "cd test && python3 -m nose --rednose --verbose"