travis.yml: best guesses about when to run tests in parallel
Notably, "--via-mpy" spews failures when threaded, possibly indicating that micropython is not creating mpy files in threadsafe manner.
This commit is contained in:
parent
c2b8529698
commit
c1cd259529
12
.travis.yml
12
.travis.yml
@ -78,24 +78,24 @@ script:
|
|||||||
- echo -en 'travis_fold:end:qemu\\r'
|
- echo -en 'travis_fold:end:qemu\\r'
|
||||||
|
|
||||||
# run tests without coverage info
|
# run tests without coverage info
|
||||||
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
|
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --auto-jobs)
|
||||||
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
|
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --auto-jobs --emit native)
|
||||||
|
|
||||||
# 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'
|
||||||
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests))
|
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --auto-jobs))
|
||||||
- echo -en 'travis_fold:end:test_all\\r'
|
- echo -en 'travis_fold:end:test_all\\r'
|
||||||
|
|
||||||
- echo 'Test threads' && echo -en 'travis_fold:start:test_threads\\r'
|
- echo 'Test threads' && echo -en 'travis_fold:start:test_threads\\r'
|
||||||
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -d thread))
|
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --auto-jobs -d thread))
|
||||||
- echo -en 'travis_fold:end:test_threads\\r'
|
- echo -en 'travis_fold:end:test_threads\\r'
|
||||||
|
|
||||||
- echo 'Testing with native' && echo -en 'travis_fold:start:test_native\\r'
|
- echo 'Testing with native' && echo -en 'travis_fold:start:test_native\\r'
|
||||||
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --emit native))
|
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --auto-jobs --emit native))
|
||||||
- echo -en 'travis_fold:end:test_native\\r'
|
- echo -en 'travis_fold:end:test_native\\r'
|
||||||
|
|
||||||
- (echo 'Testing with mpy' && echo -en 'travis_fold:start:test_mpy\\r')
|
- (echo 'Testing with mpy' && echo -en 'travis_fold:start:test_mpy\\r')
|
||||||
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy -d basics float))
|
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float))
|
||||||
- echo -en 'travis_fold:end:test_mpy\\r'
|
- echo -en 'travis_fold:end:test_mpy\\r'
|
||||||
|
|
||||||
- (echo 'Building docs' && echo -en 'travis_fold:start:build_docs\\r')
|
- (echo 'Building docs' && echo -en 'travis_fold:start:build_docs\\r')
|
||||||
|
Loading…
Reference in New Issue
Block a user