1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

travis: enable clang build for unix

This commit is contained in:
Pavol Rusnak 2017-04-21 14:28:36 +02:00
parent 7bb2c63fc4
commit b8f15a78ba
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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: