Skip to content

Commit

Permalink
Update before_script in OSX travis to forcibly link gcc (#507)
Browse files Browse the repository at this point in the history
Otherwise we obtain the following linking failure:

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/c++
Target /usr/local/include/c++
already exists. You may want to remove it:
  rm '/usr/local/include/c++'
  To force the link and overwrite all conflicting files:
    brew link --overwrite gcc
    To list all files that would be deleted:
      brew link --overwrite --dry-run gcc
      Possible conflicting files are:
      /usr/local/include/c++ ->
      /usr/local/Caskroom/oclint/0.13.1,17.4.0/oclint-0.13.1/include/c++

(cherry picked from commit de6863a)
  • Loading branch information
musm committed Sep 6, 2018
1 parent 76878cb commit 9e991f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ addons:
apt:
packages:
- hdf5-tools
before_script:
- if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; brew link --overwrite gcc; brew install hdf5; fi
after_success:
- if [ $TRAVIS_JULIA_VERSION = "nightly" ]; then julia -e 'cd(Pkg.dir("HDF5")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())'; fi

0 comments on commit 9e991f6

Please sign in to comment.