travis: Switch unix stackless build to use clang.

To test a different compiler, other than gcc.
This commit is contained in:
Damien George 2019-07-08 17:18:47 +10:00
parent baea43bba7
commit a67d9155e6

View File

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