8000 .travis.yml: Add build/test using Clang 3.6. · sparkfun/circuitpython@a51fa76 · GitHub
[go: up one dir, main page]

Skip to content

Commit a51fa76

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

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
@@ -14,6 +14,7 @@ before_script:
1414
- sudo apt-get update -qq || true
1515
- sudo apt-get install -y python3 gcc-multilib pkg-config libffi-dev libffi-dev:i386 qemu-system mingw32
1616
- sudo apt-get install -y --force-yes gcc-arm-none-eabi
17+
- sudo apt-get install -y clang-3.6
1718
#< 9265 /span> For teensy build
1819
- sudo apt-get install realpath
1920
# For coverage testing
@@ -41,6 +42,10 @@ script:
4142
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
4243
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
4344

45+
# LLVM Clang build, partially covers MacOSX build
46+
- make -C unix clean
47+
- make -C unix CC=clang-3.6 test
48+
4449
# run tests with coverage info
4550
- make -C unix coverage
4651
- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests)

0 commit comments

Comments
 (0)
0