mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-21 21:22:31 +03:00
make CI starts with (longer) PIO jobs, also move (shorter) host job later (#5599)
* make CI starts with (longer) PIO jobs, also move host (shorter) test later * mention stage on every test
This commit is contained in:
committed by
Earle F. Philhower, III
parent
c08ef514f6
commit
8f8628c681
83
.travis.yml
83
.travis.yml
@ -20,58 +20,69 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
# Build stage. To save time, run all kinds of builds and tests in parallel.
|
# Build stage. To save time, run all kinds of builds and tests in parallel.
|
||||||
|
# TODO: since we can now call different script for each job,
|
||||||
|
# split the do-it-all common.sh into separate scripts responsible
|
||||||
|
# for different types of jobs below:
|
||||||
|
- name: "Platformio (1)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=platformio_even
|
||||||
|
- name: "Platformio (2)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=platformio_odd
|
||||||
|
- name: "Build (1)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=build_even
|
||||||
|
- name: "Build (2)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=build_odd
|
||||||
|
- name: "Debug (1)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=debug_even
|
||||||
|
- name: "Debug (2)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=debug_odd
|
||||||
|
- name: "Build IPv6 (1)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=build6_even
|
||||||
|
- name: "Build IPv6 (2)"
|
||||||
|
stage: build
|
||||||
|
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||||
|
env:
|
||||||
|
- BUILD_TYPE=build6_odd
|
||||||
|
|
||||||
- name: "Host tests"
|
- name: "Host tests"
|
||||||
stage: build
|
stage: build
|
||||||
script: $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
|
script: $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
|
||||||
install: sudo apt-get install valgrind lcov
|
install: sudo apt-get install valgrind lcov
|
||||||
|
|
||||||
# TODO: since we can now call different script for each job,
|
|
||||||
# split the do-it-all common.sh into separate scripts responsible
|
|
||||||
# for different types of jobs below:
|
|
||||||
- name: "Build (1)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=build_even
|
|
||||||
- name: "Build (2)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=build_odd
|
|
||||||
- name: "Debug (1)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=debug_even
|
|
||||||
- name: "Debug (2)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=debug_odd
|
|
||||||
- name: "Build IPv6 (1)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=build6_even
|
|
||||||
- name: "Build IPv6 (2)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=build6_odd
|
|
||||||
- name: "Platformio (1)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=platformio_even
|
|
||||||
- name: "Platformio (2)"
|
|
||||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
|
||||||
env:
|
|
||||||
- BUILD_TYPE=platformio_odd
|
|
||||||
|
|
||||||
- name: "Docs"
|
- name: "Docs"
|
||||||
|
stage: build
|
||||||
script: $TRAVIS_BUILD_DIR/tests/ci/build_docs.sh
|
script: $TRAVIS_BUILD_DIR/tests/ci/build_docs.sh
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install python3-pip
|
- sudo apt-get install python3-pip
|
||||||
- pip3 install --user -r doc/requirements.txt;
|
- pip3 install --user -r doc/requirements.txt;
|
||||||
|
|
||||||
- name: "Style check"
|
- name: "Style check"
|
||||||
|
stage: build
|
||||||
script: $TRAVIS_BUILD_DIR/tests/ci/style_check.sh
|
script: $TRAVIS_BUILD_DIR/tests/ci/style_check.sh
|
||||||
install: tests/ci/install_astyle.sh
|
install: tests/ci/install_astyle.sh
|
||||||
|
|
||||||
- name: "Boards"
|
- name: "Boards"
|
||||||
|
stage: build
|
||||||
script: $TRAVIS_BUILD_DIR/tests/ci/build_boards.sh
|
script: $TRAVIS_BUILD_DIR/tests/ci/build_boards.sh
|
||||||
|
|
||||||
# Deploy stage.
|
# Deploy stage.
|
||||||
|
Reference in New Issue
Block a user