@@ -20,58 +20,69 @@ stages:
20
20
jobs :
21
21
include :
22
22
# Build stage. To save time, run all kinds of builds and tests in parallel.
23
- - name : " Host tests"
24
- stage : build
25
- script : $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
26
- install : sudo apt-get install valgrind lcov
27
-
28
23
# TODO: since we can now call different script for each job,
29
24
# split the do-it-all common.sh into separate scripts responsible
30
25
# for different types of jobs below:
26
+ - name : " Platformio (1)"
27
+ stage : build
28
+ script : $TRAVIS_BUILD_DIR/tests/common.sh
29
+ env :
30
+ - BUILD_TYPE=platformio_even
31
+ - name : " Platformio (2)"
32
+ stage : build
33
+ script : $TRAVIS_BUILD_DIR/tests/common.sh
34
+ env :
35
+ - BUILD_TYPE=platformio_odd
31
36
- name : " Build (1)"
37
+ stage : build
32
38
script : $TRAVIS_BUILD_DIR/tests/common.sh
33
39
env :
34
40
- BUILD_TYPE=build_even
35
41
- name : " Build (2)"
42
+ stage : build
36
43
script : $TRAVIS_BUILD_DIR/tests/common.sh
37
44
env :
38
45
- BUILD_TYPE=build_odd
39
46
- name : " Debug (1)"
47
+ stage : build
40
48
script : $TRAVIS_BUILD_DIR/tests/common.sh
41
49
env :
42
50
- BUILD_TYPE=debug_even
43
51
- name : " Debug (2)"
52
+ stage : build
44
53
script : $TRAVIS_BUILD_DIR/tests/common.sh
45
54
env :
46
55
- BUILD_TYPE=debug_odd
47
56
- name : " Build IPv6 (1)"
57
+ stage : build
48
58
script : $TRAVIS_BUILD_DIR/tests/common.sh
49
59
env :
50
60
- BUILD_TYPE=build6_even
51
61
- name : " Build IPv6 (2)"
62
+ stage : build
52
63
script : $TRAVIS_BUILD_DIR/tests/common.sh
53
64
env :
54
65
- BUILD_TYPE=build6_odd
55
- - name : " Platformio (1)"
56
- script : $TRAVIS_BUILD_DIR/tests/common.sh
57
- env :
58
- - BUILD_TYPE=platformio_even
59
- - name : " Platformio (2)"
60
- script : $TRAVIS_BUILD_DIR/tests/common.sh
61
- env :
62
- - BUILD_TYPE=platformio_odd
66
+
67
+ - name : " Host tests"
68
+ stage : build
69
+ script : $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
70
+ install : sudo apt-get install valgrind lcov
63
71
64
72
- name : " Docs"
73
+ stage : build
65
74
script : $TRAVIS_BUILD_DIR/tests/ci/build_docs.sh
66
75
install :
67
76
- sudo apt-get install python3-pip
68
77
- pip3 install --user -r doc/requirements.txt;
69
78
70
79
- name : " Style check"
80
+ stage : build
71
81
script : $TRAVIS_BUILD_DIR/tests/ci/style_check.sh
72
82
install : tests/ci/install_astyle.sh
73
83
74
84
- name : " Boards"
85
+ stage : build
75
86
script : $TRAVIS_BUILD_DIR/tests/ci/build_boards.sh
76
87
77
88
# Deploy stage.
0 commit comments