Skip to content

Commit c0ef427

Browse files
committed
travis.yml: Running tests in parallel on travis is slower
.. so explicitly set them to run serially with -j1. (as discussed on adafruit#729)
1 parent fc9340c commit c0ef427

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,20 @@ script:
7878
- echo -en 'travis_fold:end:qemu\\r'
7979

8080
# run tests without coverage info
81-
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --auto-jobs)
82-
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --auto-jobs --emit native)
81+
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1)
82+
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests -j1 --emit native)
8383

8484
# run tests with coverage info
8585
- echo 'Test all' && echo -en 'travis_fold:start:test_all\\r'
86-
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --auto-jobs))
86+
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1))
8787
- echo -en 'travis_fold:end:test_all\\r'
8888

8989
- echo 'Test threads' && echo -en 'travis_fold:start:test_threads\\r'
90-
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --auto-jobs -d thread))
90+
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread))
9191
- echo -en 'travis_fold:end:test_threads\\r'
9292

9393
- echo 'Testing with native' && echo -en 'travis_fold:start:test_native\\r'
94-
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --auto-jobs --emit native))
94+
- ([[ $TRAVIS_TEST != "unix" ]] || (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native))
9595
- echo -en 'travis_fold:end:test_native\\r'
9696

9797
- (echo 'Testing with mpy' && echo -en 'travis_fold:start:test_mpy\\r')

0 commit comments

Comments
 (0)