2013-05-09 13:48:11 +07:00
|
|
|
language: c
|
2018-11-25 11:51:23 -08:00
|
|
|
dist: xenial
|
2013-05-09 13:48:11 +07:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2018-11-25 11:51:23 -08:00
|
|
|
env:
|
|
|
|
- TRAVIS_SDK=arm
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
|
|
|
|
- sudo dpkg --add-architecture i386
|
|
|
|
|
|
|
|
- (! var_search "${TRAVIS_SDK-}" arm || (wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~trusty1_amd64.deb && sudo dpkg -i gcc-arm-embedded*_amd64.deb))
|
|
|
|
- sudo apt-get install -y realpath
|
|
|
|
|
|
|
|
- realpath --version
|
|
|
|
- gcc --version
|
|
|
|
- (! var_search "${TRAVIS_SDK-}" arm || arm-none-eabi-gcc --version)
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make -j2 -C examples/device/cdc_msc_hid BOARD=metro_m0_express
|
|
|
|
- make -j2 -C examples/device/cdc_msc_hid BOARD=metro_m4_express
|
2019-03-16 02:25:56 +07:00
|
|
|
- make -j2 -C examples/device/cdc_msc_hid BOARD=stm32f407g_disc1
|
2019-03-20 01:23:59 +07:00
|
|
|
- make -j2 -C examples/device/cdc_msc_hid BOARD=pca10056
|
2019-03-16 02:25:56 +07:00
|
|
|
|