travis: add a clang build

We rework the matrix a bit to avoid the implicit explosion of
duplicated results.

Change-Id: I9a2d91b3a6a55bf2843e0e90d59fe5710bd639c7
Reviewed-on: https://chromium-review.googlesource.com/444544
Reviewed-by: Ted Mielczarek <ted@mielczarek.org>
This commit is contained in:
Mike Frysinger
2017-02-06 15:25:48 -05:00
parent fd28a5bbe9
commit 644e71591b
2 changed files with 13 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ setup_env() {
# We also do it by hand because when we're throttled, the addon will exit
# the build immediately and skip the main script!
coverity_scan() {
if [ "${TRAVIS_JOB_NUMBER##*.}" != "1" ] || \
if [ "${COVERITY_SCAN}" != "true" ] || \
[ -n "${TRAVIS_TAG}" ] || \
[ "${TRAVIS_PULL_REQUEST}" = "true" ]
then