forked from Ericsson/codechecker
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Ericsson#2022 from bruntib/travis_clang7
Travis clang back to 7
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,18 +23,19 @@ before_install: | |
# Download macOS specific extra dependencies. | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git clone https://github.com/llvm-mirror/clang.git ~/llvm --branch master --single-branch --depth 1; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install doxygen; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm@8; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm@7; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install [email protected]; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=/usr/local/Cellar/[email protected]/0.9.3/bin:$PATH; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which thrift; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=/usr/local/opt/llvm/bin:$PATH; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=/usr/local/opt/llvm@7/bin:$PATH; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PYTHONPATH=~/llvm/tools/scan-build-py/; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=~/llvm/tools/scan-build-py/bin:$PATH; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod a+x ~/llvm/tools/scan-build-py/bin/intercept-build; fi | ||
|
||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which clang; which clang-tidy; fi | ||
|
||
# Set the proper Clang versions early in the PATH. | ||
- export PATH=$HOME:$PATH | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which clang; ln -s $(which clang) $HOME/clang; fi | ||
|
||
# PostgreSQL is not started automatically on macOS. | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rm -rf /usr/local/var/postgres; fi | ||
|