@@ -45,28 +45,43 @@ before_script:
4545
4646script :
4747 # Build mpy-cross first because other builds depend on it.
48+ - echo 'Building mpy-cross' && echo -en 'travis_fold:start:mpy-cross\\r'
4849 - make -C mpy-cross
50+ - echo -en 'travis_fold:end:mpy-cross\\r'
51+ - echo 'Building Adafruit binaries' && echo -en 'travis_fold:start:adafruit-bins\\r'
4952 - tools/build_adafruit_bins.sh
53+ - echo -en 'travis_fold:end:adafruit-bins\\r'
5054 - make -C ports/minimal CROSS=1 build/firmware.bin
5155 - ls -l ports/minimal/build/firmware.bin
52- - mkdir -p ${HOME}/persist
56+ # - mkdir -p ${HOME}/persist
5357 # Save new firmware for reference, but only if building a main branch, not a pull request
54- - ' if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cp ports/minimal/build/firmware.bin ${HOME}/persist/; fi'
58+ # - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cp ports/minimal/build/firmware.bin ${HOME}/persist/; fi'
59+ - echo 'Building unix' && echo -en 'travis_fold:start:unix\\r'
5560 - make -C ports/unix deplibs
5661 - make -C ports/unix
57- - make -C ports/bare-arm
62+ - make -C ports/unix coverage
63+ - echo -en 'travis_fold:end:unix\\r'
64+ - echo 'Building qemu' && echo -en 'travis_fold:start:qemu\\r'
5865 - make -C ports/qemu-arm test
66+ - echo -en 'travis_fold:end:qemu\\r'
5967
6068 # run tests without coverage info
6169 # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
6270 # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
6371
6472 # run tests with coverage info
65- - make -C ports/unix coverage
73+ - echo 'Test all' && echo -en 'travis_fold:start:test_all\\r'
6674 - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests)
75+ - echo -en 'travis_fold:end:test_all\\r'
76+ - echo 'Test threads' && echo -en 'travis_fold:start:test_threads\\r'
6777 - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -d thread)
78+ - echo -en 'travis_fold:end:test_threads\\r'
79+ - echo 'Testing with native' && echo -en 'travis_fold:start:test_native\\r'
6880 - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --emit native)
81+ - echo -en 'travis_fold:end:test_native\\r'
82+ - echo 'Testing with mpy' && echo -en 'travis_fold:start:test_mpy\\r'
6983 - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy -d basics float)
84+ - echo -en 'travis_fold:end:test_mpy\\r'
7085
7186 # run coveralls coverage analysis (try to, even if some builds/tests failed)
7287 # - (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
0 commit comments