-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
30 lines (23 loc) · 1005 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
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- "~/.platformio"
env:
- PLATFORMIO_CI_SRC=examples/Display_SL01
- PLATFORMIO_CI_SRC=examples/Display_SW01
- PLATFORMIO_CI_SRC=examples/OD01_HelloWorld
- PLATFORMIO_CI_SRC=examples/OD01_I2C_Scanner
install:
- pip install -U platformio
- platformio update
- wget https://github.com/xinabox/arduino-CORE/archive/master.zip -O /tmp/arduino-CORE.zip
- unzip /tmp/arduino-CORE.zip -d /tmp/
- wget https://github.com/xinabox/arduino-SW01/archive/master.zip -O /tmp/arduino-SW01.zip
- unzip /tmp/arduino-SW01.zip -d /tmp/
- wget https://github.com/xinabox/arduino-SL01/archive/master.zip -O /tmp/arduino-SL01.zip
- unzip /tmp/arduino-SL01.zip -d /tmp/
script:
- platformio ci --lib="." --lib="/tmp/arduino-CORE-master" --lib="/tmp/arduino-SL01-master" --lib="/tmp/arduino-SW01-master" --board=uno --board=zero --board=xinabox_cw01 --board=xinabox_cw02