forked from arduino-libraries/WiFiNINA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 1.79 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
language: generic
env:
global:
- IDE_VERSION=1.8.5
matrix:
- BOARD="arduino:samd:mkrwifi1010"
- BOARD="arduino:samd_beta:mkrvidor4000"
- BOARD="arduino:megaavr:uno2018:mode=on"
before_install:
- wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
- tar xf arduino-$IDE_VERSION-linux64.tar.xz
- mv arduino-$IDE_VERSION $HOME/arduino-ide
- export PATH=$PATH:$HOME/arduino-ide
- if [[ "$BOARD" =~ "arduino:samd:" ]]; then
arduino --install-boards arduino:samd;
fi
- if [[ "$BOARD" =~ "arduino:samd_beta:" ]]; then
arduino --install-boards arduino:samd_beta;
arduino --install-library VidorPeripherals;
fi
- if [[ "$BOARD" =~ "arduino:megaavr:" ]]; then
arduino --install-boards arduino:megaavr;
fi
- buildExampleSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/$1/$1.ino; }
- buildExampleToolsSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/Tools/$1/$1.ino; }
install:
- mkdir -p $HOME/Arduino/libraries
- ln -s $PWD $HOME/Arduino/libraries/.
script:
- buildExampleSketch AP_SimpleWebServer
- buildExampleSketch ConnectNoEncryption
- buildExampleSketch ConnectWithWEP
- buildExampleSketch ConnectWithWPA
- buildExampleSketch ScanNetworks
- buildExampleSketch ScanNetworksAdvanced
- buildExampleSketch SimpleWebServerWiFi
- buildExampleSketch WiFiChatServer
- buildExampleSketch WiFiPing
- buildExampleSketch WiFiSSLClient
- buildExampleSketch WiFiUdpNtpClient
- buildExampleSketch WiFiUdpSendReceiveString
- buildExampleSketch WiFiWebClient
- buildExampleSketch WiFiWebClientRepeating
- buildExampleSketch WiFiWebServer
- buildExampleToolsSketch CheckFirmwareVersion
- buildExampleToolsSketch FirmwareUpdater;
- buildExampleToolsSketch SerialNINAPassthrough;