From a67d9155e61d41898888da3a6884e73c3a270781 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 8 Jul 2019 17:18:47 +1000 Subject: [PATCH] travis: Switch unix stackless build to use clang. To test a different compiler, other than gcc. --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0088fbe90d..1229e6e689 100644 --- a/.travis.yml +++ b/.travis.yml @@ -106,13 +106,14 @@ jobs: # unix stackless - stage: test - env: NAME="unix stackless port build and tests" + env: NAME="unix stackless port build and tests with clang" + install: + - sudo apt-get install clang script: - git submodule update --init lib/axtls lib/berkeley-db-1.xx lib/libffi - - make ${MAKEOPTS} -C mpy-cross - - make ${MAKEOPTS} -C ports/unix deplibs - - make ${MAKEOPTS} -C ports/unix CFLAGS_EXTRA="-DMICROPY_STACKLESS=1 -DMICROPY_STACKLESS_STRICT=1" - - make ${MAKEOPTS} -C ports/unix test + - make ${MAKEOPTS} -C mpy-cross CC=clang + - make ${MAKEOPTS} -C ports/unix CC=clang CFLAGS_EXTRA="-DMICROPY_STACKLESS=1 -DMICROPY_STACKLESS_STRICT=1" + - make ${MAKEOPTS} -C ports/unix CC=clang test # windows port via mingw - stage: test