@@ -74,7 +74,7 @@ before_script:
7474 - sudo apt-get install -y python3-pip
7575 - pip3 install --user sh click
7676 - ([[ -z "$TRAVIS_TESTS" ]] || sudo pip install --upgrade cpp-coveralls)
77- - (! var_search "${TRAVIS_TESTS-}" docs || pip install --user 'Sphinx<1.8.0' sphinx-rtd-theme recommonmark)
77+ - (! var_search "${TRAVIS_TESTS-}" docs || pip install --user 'Sphinx<1.8.0' sphinx-rtd-theme ' recommonmark<0.5.0' )
7878 - (! var_search "${TRAVIS_TESTS-}" translations || pip3 install --user polib)
7979
8080 # report some good version numbers to the build
@@ -86,46 +86,46 @@ before_script:
8686script :
8787 # Build mpy-cross first because other builds depend on it.
8888 - echo 'Building mpy-cross' && echo 'travis_fold:start:mpy-cross'
89- - make -C mpy-cross -j2 ; echo status $? > status
90- - echo 'travis_fold:end:mpy-cross' && cat status
89+ - make -C mpy-cross -j2 ; echo $? > status
90+ - echo 'travis_fold:end:mpy-cross' && tools/print_status.py status
9191
9292 # Use unbuffered output because building all the releases can take a long time.
9393 # Travis will cancel the job if it sees no output for >10 minutes.
9494 - cd tools && python3 -u build_release_files.py
9595 - cd ..
9696
9797 - echo 'Building unix' && echo 'travis_fold:start:unix'
98- - (! var_search "${TRAVIS_TESTS-}" unix || (make -C ports/unix deplibs -j2 && make -C ports/unix -j2 && make -C ports/unix coverage -j2)) ; echo status $? > status
99- - echo 'travis_fold:end:unix' && cat status
98+ - (! var_search "${TRAVIS_TESTS-}" unix || (make -C ports/unix deplibs -j2 && make -C ports/unix -j2 && make -C ports/unix coverage -j2)) ; echo $? > status
99+ - echo 'travis_fold:end:unix' && tools/print_status.py status
100100
101101 # run tests without coverage info
102102 # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1)
103103 # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1 --emit native)
104104
105105 # run tests with coverage info
106106 - echo 'Test all' && echo 'travis_fold:start:test_all'
107- - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1)) ; echo status $? > status
108- - echo 'travis_fold:end:test_all' && cat status
107+ - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1)) ; echo $? > status
108+ - echo 'travis_fold:end:test_all' && tools/print_status.py status
109109
110110 - echo 'Test threads' && echo 'travis_fold:start:test_threads'
111- - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread)) ; echo status $? >status
112- - echo 'travis_fold:end:test_threads' && cat status
111+ - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread)) ; echo $? >status
112+ - echo 'travis_fold:end:test_threads' && tools/print_status.py status
113113
114114 - echo 'Testing with native' && echo 'travis_fold:start:test_native'
115- - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native)) ; echo status $? >status
116- - echo 'travis_fold:end:test_native' && cat status
115+ - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native)) ; echo $? >status
116+ - echo 'travis_fold:end:test_native' && tools/print_status.py status
117117
118118 - (echo 'Testing with mpy' && echo 'travis_fold:start:test_mpy')
119119 - (! 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
120- - echo 'travis_fold:end:test_mpy' && cat status
120+ - echo 'travis_fold:end:test_mpy' && tools/print_status.py status
121121
122122 - (echo 'Building docs' && echo 'travis_fold:start:build_docs')
123- - (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html) ; echo status $? >status
124- - echo 'travis_fold:end:build_docs' && cat status
123+ - (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html) ; echo $? >status
124+ - echo 'travis_fold:end:build_docs' && tools/print_status.py status
125125
126126 - (echo 'Building translations' && echo 'travis_fold:start:build_translations')
127- - (! var_search "${TRAVIS_TESTS-}" translations || make check-translate) ; echo status $? >status
128- - echo 'travis_fold:end:build_translations' && cat status
127+ - (! var_search "${TRAVIS_TESTS-}" translations || make check-translate) ; echo $? >status
128+ - echo 'travis_fold:end:build_translations' && tools/print_status.py status
129129
130130 # run coveralls coverage analysis (try to, even if some builds/tests failed)
131131 # - (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
0 commit comments