Use brew link to install gcc in a more predictable place

This commit is contained in:
Thom Wiggers 2019-04-05 13:38:02 +02:00
förälder 41edb79c0a
incheckning eb08730d27
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 001BB0A7CE26E363

Visa fil

@ -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"