forked from platformio/builder-framework-mbed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (51 loc) · 6.99 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
language: python
python:
- "2.7"
- "3.6"
env:
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/benchmarks/all PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b nrf52840_dk -b seeedArchPro"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/benchmarks/cenv
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/benchmarks/float_math
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/benchmarks/mbed PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b mbuino -b dfcm_nnn40"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/benchmarks/printf
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/dsp/cmsis/fir_f32
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/dsp/mbed/fir_f32
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/KL25Z/lptmr PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b frdm_k64f -b max32620hsp"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/KL25Z/pit PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b frdm_k82f -b nucleo_l4r5zi"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/blinky PLATFORMIO_BUILD_FLAGS="-D PIO_FRAMEWORK_MBED_RTOS_PRESENT" PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b nucleo_f401re -b lpc1768"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/can PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b b96b_f446ve -b lpc1549"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/can_interrupt PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b nucleo_f042k6 -b lpc4088"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/dir PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc1768 -b max32620hsp"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/echo_flow_control PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc1768 -b wizwiki_w7500p"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/freopen PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc1768 -b nrf52_dk"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/interruptin_2 PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b seeedArchPro -b sdt32625b"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/portout PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc1768 -b max32620hsp"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/reset PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b wizwiki_w7500p -b frdm_k66f"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/serial_interrupt
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/serial_interrupt_2 PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc4088 -b wizwiki_w7500p"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/sleep_timeout
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/spi PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc1768 -b wizwiki_w7500p"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/spi_slave PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc1549 -b sdt32625b"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/mbed/stdio_benchmark PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b lpc1768 -b teensy31"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/usb/device/audio PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b nucleo_f401re -b frdm_k64f -b efm32hg_stk3400 -b lpc4088"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/usb/device/basic PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b frdm_k64f -b efm32lg_stk3600 -b lpc54114"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/usb/device/keyboard PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b disco_f407vg -b frdm_k82f -b lpc1768"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/usb/device/midi PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b nucleo_f401re -b frdm_k66f -b efm32lg_stk3600 -b lpc4088"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/usb/device/mouse_keyboard PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b nucleo_f411re -b frdm_k64f -b efm32lg_stk3600 -b lpc54114"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/usb/device/raw_hid PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b frdm_k64f -b efm32wg_stk3800 -b lpc1768"
- PLATFORMIO_CI_SRC=/home/travis/.platformio/packages/framework-mbed/features/unsupported/tests/usb/device/serial PLATFORMIO_CI_BOARDS_ARGS="--project-option=framework=mbed -b nucleo_f401re -b frdm_k66f -b efm32lg_stk3600 -b lpc54114"
install:
# Don't forget to switch to stable PlatformIO 3.0 (line below) when it will be released
# - pip install -U platformio
- pip install -U https://github.com/platformio/platformio/archive/develop.zip
- pio platform install https://github.com/platformio/platform-ststm32.git --with-package framework-mbed
- pio platform install https://github.com/platformio/platform-atmelsam.git
- pio platform install https://github.com/platformio/platform-freescalekinetis.git
- pio platform install https://github.com/platformio/platform-nordicnrf51.git
- pio platform install https://github.com/platformio/platform-nxplpc.git
- pio platform install https://github.com/platformio/platform-siliconlabsefm32.git
- pio platform install https://github.com/platformio/platform-teensy.git
before_script:
- python test_latest_framework.py
script:
- if [[ $PLATFORMIO_CI_BOARDS_ARGS ]]; then bash -c 'platformio ci $PLATFORMIO_CI_BOARDS_ARGS'; else platformio ci --project-option=framework=mbed --board efm32pg_stk3401 --board nucleo_l152re --board frdm_kl46z --board wizwiki_w7500eco --board lpc4330_m4; fi