forked from Infineon/XMC-for-Arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (37 loc) · 1.8 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
language: python
python:
- "2.7"
env:
# defining this variable creates multiple jobs in Travis
# TODO keep these examples up-to-date with the ones in the core
- PLATFORMIO_PROJECT_DIR=examples/arduino-blink
- PLATFORMIO_PROJECT_DIR=examples/arduino-wire/master_reader
- PLATFORMIO_PROJECT_DIR=examples/arduino-wire/master_writer
- PLATFORMIO_PROJECT_DIR=examples/arduino-wire/slave_receiver
- PLATFORMIO_PROJECT_DIR=examples/arduino-wire/slave_sender
- PLATFORMIO_PROJECT_DIR=examples/device-control/DieTemperatureMeasurement
- PLATFORMIO_PROJECT_DIR=examples/device-control/HeapMemoryMeasurement
- PLATFORMIO_PROJECT_DIR=examples/device-control/SleepModeXMC1100
- PLATFORMIO_PROJECT_DIR=examples/device-control/SleepModeXMC4700
- PLATFORMIO_PROJECT_DIR=examples/device-control/StackMemoryMeasurement
- PLATFORMIO_PROJECT_DIR=examples/ifx9201/MotorControl
- PLATFORMIO_PROJECT_DIR=examples/rtc/AlarmRTC
- PLATFORMIO_PROJECT_DIR=examples/rtc/HibernateRTCAlarm
- PLATFORMIO_PROJECT_DIR=examples/rtc/SimpleRTC
- PLATFORMIO_PROJECT_DIR=examples/spi/BarometricPressureSensor
- PLATFORMIO_PROJECT_DIR=examples/spi/DigitalPotControl
- PLATFORMIO_PROJECT_DIR=examples/ultrasonic/betterecho
- PLATFORMIO_PROJECT_DIR=examples/ultrasonic/simple-echo
# - PLATFORMIO_PROJECT_DIR=examples/radar/doppler_speed
install:
- zip -r /tmp/framework-arduinoxmc.zip ./arm
- git clone https://github.com/Infineon/platformio-infineonxmc.git /tmp/builder
- cd /tmp/builder
- platform_json=$(<platform.json)
- rm platform.json
- jq '.packages."framework-arduinoxmc".version = "file:///tmp/framework-arduinoxmc.zip"' <<<"$platform_json" > platform.json
- pip install -U platformio
- platformio update
- platformio platform install -f file://.
script:
- platformio run -d $PLATFORMIO_PROJECT_DIR