@@ -164,111 +164,9 @@ matrix:
164
164
- ls MOUNT/littlefs
165
165
- CFLAGS="-Wno-format" make -CMOUNT/littlefs -B test_dirs QUIET=1
166
166
167
- - python : ' 2.7'
168
- env :
169
- - NAME=mbed2-NXP
170
- install :
171
- # Install dependencies
172
- - sudo apt-get install gcc-arm-embedded
173
- - pip install --user -r requirements.txt
174
- # Print versions we use
175
- - arm-none-eabi-gcc --version
176
- - python --version
177
- before_script :
178
- # Create BUILD directory for tests
179
- - mkdir BUILD
180
- script :
181
- # Run local mbed 2 testing
182
- - python2 -u tools/build_travis.py --vendor NXP
183
-
184
- - python : ' 2.7'
185
- env :
186
- - NAME=mbed2-STM
187
- install :
188
- # Install dependencies
189
- - sudo apt-get install gcc-arm-embedded
190
- - pip install --user -r requirements.txt
191
- # Print versions we use
192
- - arm-none-eabi-gcc --version
193
- - python --version
194
- before_script :
195
- # Create BUILD directory for tests
196
- - mkdir BUILD
197
- script :
198
- # Run local mbed 2 testing
199
- - python2 -u tools/build_travis.py --vendor STM
200
-
201
- - python : ' 2.7'
202
- env :
203
- - NAME=mbed2-NORDIC
204
- install :
205
- # Install dependencies
206
- - sudo apt-get install gcc-arm-embedded
207
- - pip install --user -r requirements.txt
208
- # Print versions we use
209
- - arm-none-eabi-gcc --version
210
- - python --version
211
- before_script :
212
- # Create BUILD directory for tests
213
- - mkdir BUILD
214
- script :
215
- # Run local mbed 2 testing
216
- - python2 -u tools/build_travis.py --vendor NORDIC
217
-
218
- - python : ' 2.7'
219
- env :
220
- - NAME=mbed2-SILICON_LABS
221
- install :
222
- # Install dependencies
223
- - sudo apt-get install gcc-arm-embedded
224
- - pip install --user -r requirements.txt
225
- # Print versions we use
226
- - arm-none-eabi-gcc --version
227
- - python --version
228
- before_script :
229
- # Create BUILD directory for tests
230
- - mkdir BUILD
231
- script :
232
- # Run local mbed 2 testing
233
- - python2 -u tools/build_travis.py --vendor SILICON_LABS
234
-
235
- - python : ' 2.7'
236
- env :
237
- - NAME=mbed2-MAXIM
238
- install :
239
- # Install dependencies
240
- - sudo apt-get install gcc-arm-embedded
241
- - pip install --user -r requirements.txt
242
- # Print versions we use
243
- - arm-none-eabi-gcc --version
244
- - python --version
245
- before_script :
246
- # Create BUILD directory for tests
247
- - mkdir BUILD
248
- script :
249
- # Run local mbed 2 testing
250
- - python2 -u tools/build_travis.py --vendor MAXIM
251
-
252
- - python : ' 2.7'
253
- env :
254
- - NAME=mbed2-ATMEL
255
- install :
256
- # Install dependencies
257
- - sudo apt-get install gcc-arm-embedded
258
- - pip install --user -r requirements.txt
259
- # Print versions we use
260
- - arm-none-eabi-gcc --version
261
- - python --version
262
- before_script :
263
- # Create BUILD directory for tests
264
- - mkdir BUILD
265
- script :
266
- # Run local mbed 2 testing
267
- - python2 -u tools/build_travis.py --vendor ATMEL
268
-
269
- - python : ' 2.7'
270
- env :
271
- - NAME=mbed2-NUVOTON
167
+ - &mbed-2
168
+ python : ' 2.7'
169
+ env : NAME=mbed2-NXP
272
170
install :
273
171
# Install dependencies
274
172
- sudo apt-get install gcc-arm-embedded
@@ -281,4 +179,16 @@ matrix:
281
179
- mkdir BUILD
282
180
script :
283
181
# Run local mbed 2 testing
284
- - python2 -u tools/build_travis.py --vendor NUVOTON
182
+ - python2 -u tools/build_travis.py --vendor "${NAME#mbed2-}"
183
+ - << : *mbed-2
184
+ env : NAME=mbed2-STM
185
+ - << : *mbed-2
186
+ env : NAME=mbed2-NORDIC
187
+ - << : *mbed-2
188
+ env : NAME=mbed2-SILICON_LABS
189
+ - << : *mbed-2
190
+ env : NAME=mbed2-MAXIM
191
+ - << : *mbed-2
192
+ env : NAME=mbed2-ATMEL
193
+ - << : *mbed-2
194
+ env : NAME=mbed2-NUVOTON
0 commit comments