1
+ language : python
2
+ python :
3
+ ' 2.7'
1
4
2
5
env :
3
6
global :
@@ -34,12 +37,9 @@ after_success:
34
37
after_failure :
35
38
- bash -c "$STATUS" failure "Local $NAME testing has failed"
36
39
37
- language : generic
38
-
39
40
matrix :
40
41
include :
41
- - python : ' 2.7'
42
- env :
42
+ - env :
43
43
- NAME=docs
44
44
install :
45
45
# Install dependencies
@@ -70,19 +70,13 @@ matrix:
70
70
find -name "*.s" | tee BUILD/badasm |
71
71
sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
72
72
73
- - python : ' 2.7'
74
- env :
73
+ - env :
75
74
- NAME=tools
76
75
install :
77
76
# Install dependencies
78
77
- sudo apt-get install gcc-arm-embedded
79
- - pip install --user -r requirements.txt
80
- - pip install --user pytest
81
- - pip install --user pylint
82
- - pip install --user hypothesis
83
- - pip install --user mock
84
- - pip install --user coverage
85
- - pip install --user coveralls
78
+ - pip install -r requirements.txt
79
+ - pip install pytest pylint hypothesis mock coverage coveralls
86
80
# Print versions we use
87
81
- arm-none-eabi-gcc --version
88
82
- python --version
@@ -98,14 +92,13 @@ matrix:
98
92
# Report success since we have overridden default behaviour
99
93
- bash -c "$STATUS" success "Local $NAME testing has passed"
100
94
101
- - python : ' 2.7'
102
- env :
95
+ - env :
103
96
- NAME=events
104
97
- EVENTS=events
105
98
install :
106
99
# Install dependencies
107
100
- sudo apt-get install gcc-arm-embedded
108
- - pip install --user - r requirements.txt
101
+ - pip install -r requirements.txt
109
102
# Print versions we use
110
103
- arm-none-eabi-gcc --version
111
104
- gcc --version
@@ -117,14 +110,13 @@ matrix:
117
110
# Run local equeue tests
118
111
- make -C $EVENTS/equeue test
119
112
120
- - python : ' 2.7'
121
- env :
113
+ - env :
122
114
- NAME=littlefs
123
115
- LITTLEFS=features/filesystem/littlefs
124
116
install :
125
117
# Install dependencies
126
118
- sudo apt-get install gcc-arm-embedded fuse libfuse-dev
127
- - pip install --user - r requirements.txt
119
+ - pip install -r requirements.txt
128
120
- git clone https://github.com/armmbed/spiflash-driver.git
129
121
# Print versions
130
122
- arm-none-eabi-gcc --version
@@ -165,12 +157,11 @@ matrix:
165
157
- CFLAGS="-Wno-format" make -CMOUNT/littlefs -B test_dirs QUIET=1
166
158
167
159
- &mbed-2
168
- python : ' 2.7'
169
160
env : NAME=mbed2-NXP
170
161
install :
171
162
# Install dependencies
172
163
- sudo apt-get install gcc-arm-embedded
173
- - pip install --user - r requirements.txt
164
+ - pip install -r requirements.txt
174
165
# Print versions we use
175
166
- arm-none-eabi-gcc --version
176
167
- python --version
0 commit comments