-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (26 loc) · 1.1 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
language: python
python:
- "2.7"
# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
directories:
- "~/.platformio"
env:
# Use this little line of shell script to generate list of files to compile
# for x in $(echo $(find WiserDevices -type f) | cat); echo " - PLATFORMIO_CI_SRC="$x
# --- General devices ---
# Have been moved
# Library Test
- PLATFORMIO_CI_SRC=TATUDevice/examples/BasicTatuEthernet
- PLATFORMIO_CI_SRC=TATUDevice/examples/BasicTatuWifi
- PLATFORMIO_CI_SRC=TATUDevice/examples/attachmentsLibs
- PLATFORMIO_CI_SRC=TATUDevice/examples/esparduino
install:
- pip install -U platformio
# Install libraries needed
- platformio lib install 17 19 61 89 537
# Update libraries to prevent cache of old versions
- platformio lib update 17 19 61 89 537
script:
- platformio ci --lib="./TATUConfig" --lib="./TATUDevice" --lib="./TATUInterpreter" --lib="./sensors" --lib="./actuators" --board=uno --board=miniatmega328 --board=pro16MHzatmega328 --board=megaatmega2560 --board=megaatmega1280