Skip to content

Commit

Permalink
build: improve Travis CI settings
Browse files Browse the repository at this point in the history
Remove macOS-specific steps, and reduce warnings due to compilation with
clang.

PR-URL: #21459
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
TimothyGu authored and rvagg committed Nov 28, 2018
1 parent 1da04c2 commit 2674336
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ matrix:
script:
- make -j2 test-ci
before_install:
- export HOMEBREW_NO_AUTO_UPDATE=1 # work around https://github.com/travis-ci/travis-ci/issues/7456
- if [ $TRAVIS_OS_NAME = osx ]; then brew install ccache; fi
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
- export CXX="ccache clang++ -Qunused-arguments"
- export CC="ccache clang -Qunused-arguments"
- export CC="ccache clang -Qunused-arguments -Wno-unknown-warning-option"
- export JOBS=2

0 comments on commit 2674336

Please sign in to comment.