Skip to content

Commit

Permalink
.travis.yml: Add build/test using Clang 3.6.
Browse files Browse the repository at this point in the history
Partially covers MacOSX build.
  • Loading branch information
Paul Sokolovsky committed Jul 8, 2016
1 parent 649b69a commit c51f1ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -14,6 +14,7 @@ before_script:
- sudo apt-get update -qq || true
- sudo apt-get install -y python3 gcc-multilib pkg-config libffi-dev libffi-dev:i386 qemu-system mingw32
- sudo apt-get install -y --force-yes gcc-arm-none-eabi
- sudo apt-get install -y clang-3.6
# For teensy build
- sudo apt-get install realpath
# For coverage testing
Expand Down Expand Up @@ -41,6 +42,10 @@ script:
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)

# LLVM Clang build, partially covers MacOSX build
- make -C unix clean
- make -C unix CC=clang-3.6 test

# run tests with coverage info
- make -C unix coverage
- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests)
Expand Down

0 comments on commit c51f1ed

Please sign in to comment.