forked from cotestatnt/AsyncTelegram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (28 loc) · 872 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
33
language: c++
dist: bionic
addons:
apt:
packages:
- arduino-mk
- wget
- python3
before_install:
- echo `pwd`
- wget https://www.arduino.cc/download.php?f=/arduino-1.8.12-linux64.tar.xz -O arduino.tar.xz
- tar xf arduino.tar.xz
- cd arduino-1.8.12
- export PATH=$PATH:`pwd`
- cd ..
install:
- echo `pwd`
- echo $PATH
- arduino --pref boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json --install-boards esp8266:esp8266
- arduino --install-library ArduinoJson:5.13.4
before_script:
- echo ${TRAVIS_BUILD_DIR}
- cd ${TRAVIS_BUILD_DIR}/examples
- echo `pwd`
- for d in */; do cp ../src/* ${d}/; done
script:
- cd ${TRAVIS_BUILD_DIR}/examples
- for d in */; do arduino --pref compiler.cpp.extra_flags="-Wall -Wextra -Werror" --board esp8266:esp8266:d1 --verify ${d}*.ino; done