8000 .travis.yml: Add build/test using Clang 3.6. · guidebee/micropython@615e799 · GitHub
[go: up one dir, main page]

Skip to content

Commit 615e799

Browse files
committed
.travis.yml: Add build/test using Clang 3.6.
Partially covers MacOSX build.
1 parent beeb748 commit 615e799

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ before_script:
1717
- sudo apt-get update -qq || true
1818
- sudo apt-get install -y python3 gcc-multilib pkg-config libffi-dev libffi-dev:i386 qemu-system gcc-mingw-w64
1919
- sudo apt-get install -y --force-yes gcc-arm-none-eabi
20+
- sudo apt-get install -y clang-3.6
2021
# For teensy build
2122
- sudo apt-get install realpath
2223
# For coverage testing
@@ -52,6 +53,10 @@ script:
5253
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
5354
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
5455

56+
# LLVM Clang build, partially covers MacOSX build
57+
- make -C unix clean
58+
- make -C unix CC=clang-3.6 test
59+
5560
# run tests with coverage info
5661
- make -C ports/unix coverage
5762
- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests)

0 commit comments

Comments
 (0)
0