Properly set up GCC on OS X

This commit is contained in:
Thom Wiggers 2019-04-05 09:28:22 +02:00
parent 8067df4aa9
commit 9a6787c872
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -20,9 +20,12 @@ matrix:
homebrew: homebrew:
packages: packages:
- astyle - astyle
- gcc@8 - gcc
before_install: before_install:
- pip3 install -r requirements.txt - 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 - gcc --version
script: script:
- "cd test && python3 -m nose --rednose --verbose" - "cd test && python3 -m nose --rednose --verbose"