Use brew link to install gcc in a more predictable place

Šī revīzija ir iekļauta:
Thom Wiggers 2019-04-05 13:38:02 +02:00
vecāks 41edb79c0a
revīzija eb08730d27
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 001BB0A7CE26E363

Parādīt failu

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