diff options
author | stijn <stijn@ignitron.net> | 2020-04-09 08:28:03 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-18 22:35:44 +1000 |
commit | 91a6ddc78ada3129bb8968fb0efac1d83e0b99fc (patch) | |
tree | 60f8152e0ee5147035b7e6691e2ee557d9a62f85 | |
parent | 28833690bb9701cc9c381d0fd71f3a94d67f9c2f (diff) |
travis: Decrease build duration by starting OSX build early.
Looking at the recent build history the time it takes just to complete the
OSX build is already 12 minutes so make it start early, which brings down
the total build time from about 20 minutes to 14 minutes.
-rw-r--r-- | .travis.yml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml index 88203c53c..93143c7c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,25 @@ jobs: - tools/codeformat.py - git diff --exit-code + # unix port on OSX (first in list because the build VM takes a long time to start) + - stage: test + os: osx + osx_image: xcode11.3 + env: + - NAME="unix port build with clang on OSX" + - PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig + script: + - make ${MAKEOPTS} -C mpy-cross + - make ${MAKEOPTS} -C ports/unix submodules + - make ${MAKEOPTS} -C ports/unix deplibs + - make ${MAKEOPTS} -C ports/unix + # OSX has poor time resolution and the following tests do not have the correct output + - (cd tests && ./run-tests --exclude 'uasyncio_(basic|heaplock|lock|wait_task)') + # check for additional compiler errors/warnings + - make ${MAKEOPTS} -C ports/unix VARIANT=coverage + after_failure: + - tests/run-tests --print-failures + # stm32 port - stage: test env: NAME="stm32 port build" @@ -204,25 +223,6 @@ jobs: after_failure: - tests/run-tests --print-failures - # unix port on OSX - - stage: test - os: osx - osx_image: xcode11.3 - env: - - NAME="unix port build with clang on OSX" - - PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig - script: - - make ${MAKEOPTS} -C mpy-cross - - make ${MAKEOPTS} -C ports/unix submodules - - make ${MAKEOPTS} -C ports/unix deplibs - - make ${MAKEOPTS} -C ports/unix - # OSX has poor time resolution and the following tests do not have the correct output - - (cd tests && ./run-tests --exclude 'uasyncio_(basic|heaplock|lock|wait_task)') - # check for additional compiler errors/warnings - - make ${MAKEOPTS} -C ports/unix VARIANT=coverage - after_failure: - - tests/run-tests --print-failures - # windows port via mingw - stage: test env: NAME="windows port build via mingw" |