Skip to content

Commit

Permalink
Attempt to use clang-3.8 to compile on Linux for TravisCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed Aug 18, 2017
1 parent 6d28764 commit 650ebdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ addons:
- libminiupnpc-dev
- gcc
- g++
- clang-3.8
- help2man
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
Expand All @@ -28,6 +29,8 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list openssl &>/dev/null || brew install openssl ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list miniupnpc &>/dev/null || brew install miniupnpc ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list help2man &>/dev/null || brew install help2man ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.8 90 ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 90 ; fi
cache:
apt: true
script: scons install apps samples
Expand Down

0 comments on commit 650ebdd

Please sign in to comment.