forked from Infineon/platformio-infineonxmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 829 Bytes
/
.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
language: python
python:
- "2.7"
cache:
directories:
- "~/.platformio"
addons:
apt_packages:
- lib32bz2-1.0
- lib32ncurses5
- lib32z1
env:
- PLATFORMIO_PROJECT_DIR=examples/arduino-blink
install:
- git clone https://github.com/Infineon/XMC-for-Arduino.git /tmp/core
- zip -r /tmp/core/framework-arduinoxmc.zip /tmp/core/arm
- cp -r . /tmp/builder
- cd /tmp/builder
- platform_json=$(<platform.json)
- rm platform.json
- jq '.packages."framework-arduinoxmc".version = "file:///tmp/core/framework-arduinoxmc.zip"' <<<"$platform_json" > platform.json
- pip install -U https://github.com/platformio/platformio/archive/develop.zip
#- platformio platform uninstall infineonxmc
- platformio platform install -f file://.
script:
- platformio run -d $PLATFORMIO_PROJECT_DIR