From b8f15a78ba1d640f7972303c51c5366f7a854e46 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 21 Apr 2017 14:28:36 +0200 Subject: [PATCH] travis: enable clang build for unix --- .travis.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b724e8ca..387945c98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ sudo: false dist: trusty language: c +compiler: + - clang + - gcc + addons: apt: packages: @@ -14,19 +18,19 @@ install: - pip3 install ed25519 pyblake2 script: - - make vendorheader + - test "$CC" = "clang" || make vendorheader - - make build_cross + - test "$CC" = "clang" || make build_cross - - make build_boardloader + - test "$CC" = "clang" || make build_boardloader - - make build_bootloader + - test "$CC" = "clang" || make build_bootloader - - make build_firmware + - test "$CC" = "clang" || make build_firmware - make build_unix TREZOR_NOUI=1 - - make test + - test "$CC" = "clang" || make test notifications: webhooks: