-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
50 lines (41 loc) · 1.42 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
# Continuous Integration (CI)
# Documentation:
#
# * Travis CI Embedded Builds with PlatformIO
# < https://docs.travis-ci.com/user/integration/platformio/ >
#
# * PlatformIO integration with Travis CI
# < http://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
# < http://docs.platformio.org/page/userguide/cmd_ci.html >
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- "~/.platformio"
before_install:
- echo -e "${tokens}" > src/tokens.h
install:
- pip install -U platformio
- platformio update
# Libraries from PlatformIO Library Registry:
#
# https://platformio.org/lib/show/1089/IRremoteESP8266
# https://platformio.org/lib/show/1826/AsyncTCP
# https://platformio.org/lib/show/305/ESPAsyncTCP
# https://platformio.org/lib/show/549/WebSockets
# https://platformio.org/lib/show/5509/SinricClass
# https://platformio.org/lib/show/551/NTPClient
# https://platformio.org/lib/show/64/ArduinoJson
# https://platformio.org/lib/show/89/PubSubClient
- platformio lib -g install 1089 1826 305 549 5509 551 64 89
# Libraries from GitHub Library:
#
# Install LED strip library
- wget https://github.com/mmphego/RGB-IR-Led-ESP8266/archive/master.zip -O /tmp/rgbirled.zip
- unzip /tmp/rgbirled.zip -d /tmp
script:
- platformio ci --lib="." --lib="/tmp/RGB-IR-Led-ESP8266-master/" --board=d1_mini src