googletest/ci
Enji Cooper 9df5475b82 Test out changes with clang/OSX each PR using Travis CI
This will help ensure that test coverage isn't missed when changes that
can impact OSX with clang are submitted. Although not perfect, testing
changes on OSX with clang is an ok proxy [for now] for testing changes on
FreeBSD with clang (testing on FreeBSD is non-trivial, as Travis CI doesn't
support operating systems other than Linux and OSX).

In order to support this, install the packages via homebrew using a
`addons::homebrew::packages` block (similar to `addons::apt::packages`
for Ubuntu), as documented in the Travis CI docs
( https://docs.travis-ci.com/user/installing-dependencies/ ). While
here, try pushing apt* calls into the Travis config for Ubuntu, instead
of delaying the equivalent calls in the `ci/*.sh` scripts. Keep the
`ci/*.sh` scripts for ease of testing locally (and extend the OSX one to
install gcc 4.9 and llvm 3.9, like the travis config does).

In order to accomodate this change (and because the homebrew package for
llvm@3.9 doesn't automatically add clang*-3.9 to `$PATH`), `$PATH` needs
to be adjusted to find the llvm@3.9 toolchain.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-02-04 12:19:27 -08:00
..
build-linux-autotools.sh Build both googletest and googlemock. 2017-12-24 12:22:46 -05:00
build-linux-bazel.sh Merges and also adding new bazel build mode 2018-01-31 12:05:18 -05:00
build-platformio.sh feat: Add initial support for PlatformIO and Arduino 2018-12-04 21:44:39 -06:00
env-linux.sh Changing clang tp 3.9 as 3.7 no longer works on Travis 2018-08-29 21:58:47 -04:00
env-osx.sh Test out changes with clang/OSX each PR using Travis CI 2019-02-04 12:19:27 -08:00
get-nprocessors.sh Create a autotools-based build for Travis. 2017-12-24 12:22:17 -05:00
install-linux.sh Changing clang tp 3.9 as 3.7 no longer works on Travis 2018-08-29 21:58:47 -04:00
install-osx.sh Test out changes with clang/OSX each PR using Travis CI 2019-02-04 12:19:27 -08:00
install-platformio.sh feat: Add initial support for PlatformIO and Arduino 2018-12-04 21:44:39 -06:00
log-config.sh Implement bazel-based builds in Travis. 2017-12-08 20:59:07 -05:00
travis.sh Add no-exception and no-rtti to build matrix 2018-05-01 09:34:13 -07:00