diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-01-28 19:48:10 +0100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-01-28 10:48:10 -0800 |
commit | 6fcbc26f883a37126b2d9486a4703877c2b4d869 (patch) | |
tree | 60b3fc08154def38d5cf201a71b7979f0f8b9636 | |
parent | 880e319cf6a4bbd82d890de1d8bba1589e6b00be (diff) | |
download | spack-6fcbc26f883a37126b2d9486a4703877c2b4d869.tar.gz spack-6fcbc26f883a37126b2d9486a4703877c2b4d869.tar.bz2 spack-6fcbc26f883a37126b2d9486a4703877c2b4d869.tar.xz spack-6fcbc26f883a37126b2d9486a4703877c2b4d869.zip |
travis: removed /usr/local/include/c++ before installing gcc on OSX (#6515) (#7027)
"brew install gcc" fails for travis build because of an existing
/usr/local/include/c++. This commit removes the offending file
as suggested by brew.
-rw-r--r-- | .travis.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 0c188d6001..3b55797beb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -130,6 +130,7 @@ cache: pip before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew ls --versions python > /dev/null || brew install python; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rm /usr/local/include/c++ ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew ls --versions gcc > /dev/null || brew install gcc; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew ls --versions gnupg2 > /dev/null || brew install gnupg2; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then virtualenv venv; fi |