Browse Source

Use brew link to install gcc in a more predictable place

master
Thom Wiggers 5 years ago
parent
commit
eb08730d27
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      .travis.yml

+ 3
- 2
.travis.yml View File

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


Loading…
Cancel
Save