From e6809dad44aa06a289754926a4428ccbb7ff2ef1 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Fri, 22 Jun 2018 01:56:13 -0400 Subject: [PATCH 1/2] build: improve Travis CI settings Remove macOS-specific steps, and reduce warnings due to compilation with clang. --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6415497163a151..88f4123f7ccf4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -Qunknown-warning-option" - export JOBS=2 From 15477d17c705d89e19cb4fe23969059f074b9b70 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Fri, 22 Jun 2018 01:59:38 -0400 Subject: [PATCH 2/2] fixup! build: improve Travis CI settings --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 88f4123f7ccf4f..11cb2a2f12758b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,5 +19,5 @@ matrix: - make -j2 test-ci before_install: - export CXX="ccache clang++ -Qunused-arguments" - - export CC="ccache clang -Qunused-arguments -Qunknown-warning-option" + - export CC="ccache clang -Qunused-arguments -Wno-unknown-warning-option" - export JOBS=2