travis: Add job to build and test unix minimal port.

To test that unix minimal port builds, and that test-suite can run with
minimal features enabled.
pull/1/head
Damien George 2019-10-29 22:23:00 +11:00
parent 943dd33b5f
commit 162016ad9c
1 changed files with 7 additions and 0 deletions

View File

@ -128,6 +128,13 @@ jobs:
after_failure:
- (cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff -u $testbase.exp $testbase.out; done)
# minimal unix port with tests
- stage: test
env: NAME="minimal unix port build and tests"
script:
- make ${MAKEOPTS} -C ports/unix minimal
- (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_minimal ./run-tests -e exception_chain -e self_type_check -e subclass_native_init -d basics)
# windows port via mingw
- stage: test
env: NAME="windows port build via mingw"