diff options
| author | Shawn Hymel <hymelsr@vt.edu> | 2019-01-10 12:50:05 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-10 12:50:05 -0600 |
| commit | bbf77a7efb900a4051e038b9a5a0182cb76eb172 (patch) | |
| tree | b2b434b3b741474ed9fb6ac69f455b3ee9ab269e /.travis.yml | |
| parent | 62ea1bd43e784114fbba8bd0816e3f6c80c18418 (diff) | |
| parent | 07ae65dfc78d8ca476d55db68ccdaee0053a8442 (diff) | |
Merge branch 'master' into master
Diffstat (limited to '.travis.yml')
| -rwxr-xr-x | .travis.yml | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/.travis.yml b/.travis.yml index 72d383002..aa0282172 100755 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ env: - TRAVIS_BOARDS="metro_m0_express metro_m4_express pirkey_m0 trellis_m4_express trinket_m0" TRAVIS_SDK=arm - TRAVIS_BOARDS="feather_radiofruit_zigbee gemma_m0 hallowing_m0_express itsybitsy_m0_express itsybitsy_m4_express meowmeow" TRAVIS_SDK=arm - TRAVIS_BOARDS="feather_m0_express_crickit feather_m0_rfm69 feather_m0_rfm9x feather_m4_express arduino_zero arduino_mkr1300 arduino_mkrzero" TRAVIS_SDK=arm - - TRAVIS_BOARDS="circuitplayground_express_crickit feather_m0_adalogger feather_m0_basic feather_m0_express catwan_usbstick sparkfun_samd21_mini" TRAVIS_SDK=arm + - TRAVIS_BOARDS="circuitplayground_express_crickit feather_m0_adalogger feather_m0_basic feather_m0_express catwan_usbstick pyportal sparkfun_samd21_mini" TRAVIS_SDK=arm addons: artifacts: @@ -77,7 +77,7 @@ before_script: - sudo apt-get install -y python3-pip - pip3 install --user sh click - ([[ -z "$TRAVIS_TESTS" ]] || sudo pip install --upgrade cpp-coveralls) - - (! var_search "${TRAVIS_TESTS-}" docs || pip install --user 'Sphinx<1.8.0' sphinx-rtd-theme recommonmark) + - (! var_search "${TRAVIS_TESTS-}" docs || pip install --user Sphinx sphinx-rtd-theme recommonmark) - (! var_search "${TRAVIS_TESTS-}" translations || pip3 install --user polib) # report some good version numbers to the build @@ -88,47 +88,47 @@ before_script: script: # Build mpy-cross first because other builds depend on it. - - echo 'Building mpy-cross' && echo -en 'travis_fold:start:mpy-cross\\r' - - make -C mpy-cross -j2 - - echo -en 'travis_fold:end:mpy-cross\\r' + - echo 'Building mpy-cross' && echo 'travis_fold:start:mpy-cross' + - make -C mpy-cross -j2 ; echo $? > status + - echo 'travis_fold:end:mpy-cross' && tools/print_status.py status # 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. - cd tools && python3 -u build_release_files.py - cd .. - - 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)) - - echo -en 'travis_fold:end:unix\\r' + - echo 'Building unix' && echo 'travis_fold:start:unix' + - (! var_search "${TRAVIS_TESTS-}" unix || (make -C ports/unix deplibs -j2 && make -C ports/unix -j2 && make -C ports/unix coverage -j2)) ; echo $? > status + - echo 'travis_fold:end:unix' && tools/print_status.py status # run tests without coverage info #- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1) #- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1 --emit native) # run tests with coverage info - - 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)) - - echo -en 'travis_fold:end:test_all\\r' + - echo 'Test all' && echo 'travis_fold:start:test_all' + - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1)) ; echo $? > status + - echo 'travis_fold:end:test_all' && tools/print_status.py status - - 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)) - - echo -en 'travis_fold:end:test_threads\\r' + - echo 'Test threads' && echo 'travis_fold:start:test_threads' + - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread)) ; echo $? >status + - echo 'travis_fold:end:test_threads' && tools/print_status.py status - - 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)) - - echo -en 'travis_fold:end:test_native\\r' + - echo 'Testing with native' && echo 'travis_fold:start:test_native' + - (! var_search "${TRAVIS_TESTS-}" unix || (cd tests && MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native)) ; echo $? >status + - echo 'travis_fold:end:test_native' && tools/print_status.py status - - (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)) - - echo -en 'travis_fold:end:test_mpy\\r' + - (echo 'Testing with mpy' && echo 'travis_fold:start:test_mpy') + - (! 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 $? >status + - echo 'travis_fold:end:test_mpy' && tools/print_status.py status - - (echo 'Building docs' && echo -en 'travis_fold:start:build_docs\\r') - - (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html) - - echo -en 'travis_fold:end:build_docs\\r' + - (echo 'Building docs' && echo 'travis_fold:start:build_docs') + - (! var_search "${TRAVIS_TESTS-}" docs || sphinx-build -E -W -b html . _build/html) ; echo $? >status + - echo 'travis_fold:end:build_docs' && tools/print_status.py status - - (echo 'Building translations' && echo -en 'travis_fold:start:build_translations\\r') - - (! var_search "${TRAVIS_TESTS-}" translations || make check-translate) - - echo -en 'travis_fold:end:build_translations\\r' + - (echo 'Building translations' && echo 'travis_fold:start:build_translations') + - (! var_search "${TRAVIS_TESTS-}" translations || make check-translate) ; echo $? >status + - echo 'travis_fold:end:build_translations' && tools/print_status.py status # 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) |
