@@ -86,46 +86,54 @@ before_script:
8686script :
8787 # Build mpy-cross first because other builds depend on it.
8888 - echo 'Building mpy-cross' && echo -en 'travis_fold:start:mpy-cross\\r'
89- - make -C mpy-cross -j2
89+ - make -C mpy-cross -j2 ; echo "Building mpy-cross status $?" > status
9090 - echo -en 'travis_fold:end:mpy-cross\\r'
91+ - cat status
9192
9293 # Use unbuffered output because building all the releases can take a long time.
9394 # Travis will cancel the job if it sees no output for >10 minutes.
9495 - cd tools && python3 -u build_release_files.py
9596 - cd ..
9697
9798 - echo 'Building unix' && echo -en 'travis_fold:start:unix\\r'
98- - (! var_search "${TRAVIS_TESTS-}" unix || (make -C ports/unix deplibs -j2 && make -C ports/unix -j2 && make -C ports/unix coverage -j2))
99+ - (! var_search "${TRAVIS_TESTS-}" unix || (make -C ports/unix deplibs -j2 && make -C ports/unix -j2 && make -C ports/unix coverage -j2)) ; echo "Building unix status : $?" > status
99100 - echo -en 'travis_fold:end:unix\\r'
101+ - cat status
100102
101103 # run tests without coverage info
102104 # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1)
103105 # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1 --emit native)
104106
105107 # run tests with coverage info
106108 - echo 'Test all' && echo -en 'travis_fold:start:test_all\\r'
107- - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1))
109+ - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1)) ; echo "Test all status : $?" > status
108110 - echo -en 'travis_fold:end:test_all\\r'
111+ - cat status
109112
110113 - echo 'Test threads' && echo -en 'travis_fold:start:test_threads\\r'
111- - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread))
114+ - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread)) ; echo "Test threads status : $?" >status
112115 - echo -en 'travis_fold:end:test_threads\\r'
116+ - cat status
113117
114118 - echo 'Testing with native' && echo -en 'travis_fold:start:test_native\\r'
115- - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native))
119+ - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native)) ; echo "Testing with native : $?" >status
116120 - echo -en 'travis_fold:end:test_native\\r'
121+ - cat status
117122
118123 - (echo 'Testing with mpy' && echo -en 'travis_fold:start:test_mpy\\r')
119- - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float))
124+ - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float)) ; echo "Testing with mpy status : $?" >status
120125 - echo -en 'travis_fold:end:test_mpy\\r'
126+ - cat status
121127
122128 - (echo 'Building docs' && echo -en 'travis_fold:start:build_docs\\r')
123- - (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html)
129+ - (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html) ; echo "Building docs status : $?" >status
124130 - echo -en 'travis_fold:end:build_docs\\r'
131+ - cat status
125132
126133 - (echo 'Building translations' && echo -en 'travis_fold:start:build_translations\\r')
127- - (! var_search "${TRAVIS_TESTS-}" translations || make check-translate)
134+ - (! var_search "${TRAVIS_TESTS-}" translations || make check-translate) ; echo "Building translations status : $?" >status
128135 - echo -en 'travis_fold:end:build_translations\\r'
136+ - cat status
129137
130138 # run coveralls coverage analysis (try to, even if some builds/tests failed)
131139 # - (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
0 commit comments