@@ -6,7 +6,6 @@ compiler:
66git :
77 depth : 1
88env :
9- - MAKEOPTS="-j4"
109 - TRAVIS_BOARD=feather_huzzah
1110 - TRAVIS_BOARD=arduino_zero
1211 - TRAVIS_BOARD=circuitplayground_express
@@ -58,17 +57,12 @@ before_script:
5857 - ([[ $TRAVIS_BOARD != "feather52832" && $TRAVIS_BOARD != "pca10056" ]] || sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh)
5958 # For huzzah builds
6059 - if [[ $TRAVIS_BOARD = "feather_huzzah" ]]; then wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz && tar xavf xtensa-lx106-elf-standalone.tar.gz; PATH=$(readlink -f xtensa-lx106-elf/bin):$PATH; fi
60+ # For coverage testing (upgrade is used to get latest urllib3 version)
6161 - ([[ -z "$TRAVIS_TEST" ]] || sudo pip install --upgrade cpp-coveralls)
6262 - ([[ $TRAVIS_TEST != "docs" ]] || sudo pip install Sphinx sphinx-rtd-theme recommonmark)
6363 - gcc --version
6464 - ([[ -z "$TRAVIS_BOARD" ]] || arm-none-eabi-gcc --version)
6565 - python3 --version
66-
67- - sudo apt-get install realpath
68- # For coverage testing (a specific urllib3 version is needed for requests and cpp-coveralls to work together)
69- - sudo pip install -Iv urllib3==1.22
70- - sudo pip install cpp-coveralls
71-
7266
7367script :
7468 # Build mpy-cross first because other builds depend on it.
@@ -116,17 +110,9 @@ script:
116110 - echo -en 'travis_fold:end:build_docs\\r'
117111
118112
119- # test when input script comes from stdin
120- - cat tests/basics/0prelim.py | ports/unix/micropython_coverage | grep -q 'abc'
121-
122113 # run coveralls coverage analysis (try to, even if some builds/tests failed)
123114 # - (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
124115
125- # run tests on stackless build
126- # - rm -rf ports/unix/build-coverage
127- # - make ${MAKEOPTS} -C ports/unix coverage CFLAGS_EXTRA="-DMICROPY_STACKLESS=1 -DMICROPY_STACKLESS_STRICT=1"
128- # - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests)
129-
130116after_failure :
131117 - (cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff -u $testbase.exp $testbase.out; done)
132118 - (grep "FAIL" ports/qemu-arm/build/console.out)
0 commit comments