Use brew link to install gcc in a more predictable place

这个提交包含在:
Thom Wiggers 2019-04-05 13:38:02 +02:00
父节点 41edb79c0a
当前提交 eb08730d27
找不到此签名对应的密钥
GPG 密钥 ID: 001BB0A7CE26E363

查看文件

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