fix sphinx complaint; more travis fold status reporting
This commit is contained in:
parent
5fc28970b4
commit
89af666093
24
.travis.yml
24
.travis.yml
@ -86,8 +86,9 @@ before_script:
|
|||||||
script:
|
script:
|
||||||
# Build mpy-cross first because other builds depend on it.
|
# Build mpy-cross first because other builds depend on it.
|
||||||
- echo 'Building mpy-cross' && echo -en 'travis_fold:start:mpy-cross\\r'
|
- echo 'Building mpy-cross' && echo -en 'travis_fold:start:mpy-cross\\r'
|
||||||
- make -C mpy-cross -j2
|
- make -C mpy-cross -j2 ; echo "Building mpy-cross status $?" > status
|
||||||
- echo -en 'travis_fold:end:mpy-cross\\r'
|
- echo -en 'travis_fold:end:mpy-cross\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
# Use unbuffered output because building all the releases can take a long time.
|
# Use unbuffered output because building all the releases can take a long time.
|
||||||
# Travis will cancel the job if it sees no output for >10 minutes.
|
# Travis will cancel the job if it sees no output for >10 minutes.
|
||||||
@ -95,8 +96,9 @@ script:
|
|||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
- echo 'Building unix' && echo -en 'travis_fold:start:unix\\r'
|
- echo 'Building unix' && echo -en 'travis_fold:start:unix\\r'
|
||||||
- (! var_search "${TRAVIS_TESTS-}" unix || (make -C ports/unix deplibs -j2 && make -C ports/unix -j2 && make -C ports/unix coverage -j2))
|
- (! 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
|
||||||
- echo -en 'travis_fold:end:unix\\r'
|
- echo -en 'travis_fold:end:unix\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
# run tests without coverage info
|
# run tests without coverage info
|
||||||
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1)
|
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1)
|
||||||
@ -104,28 +106,34 @@ script:
|
|||||||
|
|
||||||
# run tests with coverage info
|
# run tests with coverage info
|
||||||
- echo 'Test all' && echo -en 'travis_fold:start:test_all\\r'
|
- echo 'Test all' && echo -en 'travis_fold:start:test_all\\r'
|
||||||
- (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1))
|
- (! 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
|
||||||
- echo -en 'travis_fold:end:test_all\\r'
|
- echo -en 'travis_fold:end:test_all\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
- echo 'Test threads' && echo -en 'travis_fold:start:test_threads\\r'
|
- echo 'Test threads' && echo -en 'travis_fold:start:test_threads\\r'
|
||||||
- (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread))
|
- (! 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
|
||||||
- echo -en 'travis_fold:end:test_threads\\r'
|
- echo -en 'travis_fold:end:test_threads\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
- echo 'Testing with native' && echo -en 'travis_fold:start:test_native\\r'
|
- echo 'Testing with native' && echo -en 'travis_fold:start:test_native\\r'
|
||||||
- (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native))
|
- (! 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
|
||||||
- echo -en 'travis_fold:end:test_native\\r'
|
- echo -en 'travis_fold:end:test_native\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
- (echo 'Testing with mpy' && echo -en 'travis_fold:start:test_mpy\\r')
|
- (echo 'Testing with mpy' && echo -en 'travis_fold:start:test_mpy\\r')
|
||||||
- (! 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))
|
- (! 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
|
||||||
- echo -en 'travis_fold:end:test_mpy\\r'
|
- echo -en 'travis_fold:end:test_mpy\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
- (echo 'Building docs' && echo -en 'travis_fold:start:build_docs\\r')
|
- (echo 'Building docs' && echo -en 'travis_fold:start:build_docs\\r')
|
||||||
- (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html)
|
- (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html) ; echo "Building docs status: $?" >status
|
||||||
- echo -en 'travis_fold:end:build_docs\\r'
|
- echo -en 'travis_fold:end:build_docs\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
- (echo 'Building translations' && echo -en 'travis_fold:start:build_translations\\r')
|
- (echo 'Building translations' && echo -en 'travis_fold:start:build_translations\\r')
|
||||||
- (! var_search "${TRAVIS_TESTS-}" translations || make check-translate)
|
- (! var_search "${TRAVIS_TESTS-}" translations || make check-translate) ; echo "Building translations status: $?" >status
|
||||||
- echo -en 'travis_fold:end:build_translations\\r'
|
- echo -en 'travis_fold:end:build_translations\\r'
|
||||||
|
- cat status
|
||||||
|
|
||||||
# run coveralls coverage analysis (try to, even if some builds/tests failed)
|
# run coveralls coverage analysis (try to, even if some builds/tests failed)
|
||||||
#- (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
|
#- (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
|
||||||
|
@ -103,7 +103,7 @@ run follow command to install [adafruit-nrfutil](https://github.com/adafruit/Ada
|
|||||||
* dfu-gen: Generates a Firmware zip to be used by the DFU flash application.
|
* dfu-gen: Generates a Firmware zip to be used by the DFU flash application.
|
||||||
* dfu-flash: Triggers the DFU flash application to upload the firmware from the generated Firmware zip file.
|
* dfu-flash: Triggers the DFU flash application to upload the firmware from the generated Firmware zip file.
|
||||||
|
|
||||||
Example on how to generate and flash feather_nrf52832 target:
|
Example on how to generate and flash feather_nrf52840 target:
|
||||||
|
|
||||||
make BOARD=feather_nrf52840 SD=s140
|
make BOARD=feather_nrf52840 SD=s140
|
||||||
make BOARD=feather_nrf52840 SD=s140 dfu-gen dfu-flash
|
make BOARD=feather_nrf52840 SD=s140 dfu-gen dfu-flash
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
//| .. currentmodule:: bleio
|
//| .. currentmodule:: bleio
|
||||||
//|
|
//|
|
||||||
//| :class:`CharacteristicBuffer` -- GATT Service incoming values buffer.
|
//| :class:`CharacteristicBuffer` -- GATT Service incoming values buffer.
|
||||||
//| =========================================================
|
//| =====================================================================
|
||||||
//|
|
//|
|
||||||
//| Accumulates a Characteristic's incoming values in a FIFO buffer.
|
//| Accumulates a Characteristic's incoming values in a FIFO buffer.
|
||||||
//|
|
//|
|
||||||
|
Loading…
Reference in New Issue
Block a user