forked from sandeepmistry/arduino-nRF5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 2.49 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
language: generic
addons:
apt:
packages:
- libc6:i386
- libstdc++6:i386
env:
global:
- IDE_VERSION=1.8.5
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
- arduino --pref "boardsmanager.additional.urls=https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json" --install-boards sandeepmistry:nRF5 > /dev/null
- buildExampleSketch() { arduino --verbose-build --verify --board $1 $HOME/arduino-ide/examples/$2/$3/$3.ino; }
install:
- mkdir -p $HOME/Arduino/hardware/sandeepmistry
- ln -s $PWD $HOME/Arduino/hardware/sandeepmistry/nRF5
script:
- buildExampleSketch sandeepmistry:nRF5:nRF52DK 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:BluzDK 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:BLENano:version=1_0 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:RedBearLab_nRF51822:version=1_0 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:BBCmicrobit 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:CalliopeMini 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:Generic_nRF51822:chip=xxac 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:Generic_nRF52832 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:OSHChip 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:STCT_nRF52_minidev 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:PCA1000X:board_variant=pca10000 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:PCA1000X:board_variant=pca10001 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:PCA1000X:board_variant=nrf6310 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:nRF51Dongle:version=1_1_0 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:Blend2 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:BLENano2 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:TinyBLE 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:bluey 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:hackaBLE 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:hackaBLE_v2 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:Sinobit 01.Basics BareMinimum
- buildExampleSketch sandeepmistry:nRF5:DWM1001-DEV 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:SeeedArchLink 01.Basics Blink
- buildExampleSketch sandeepmistry:nRF5:BBCmicrobitV2 01.Basics Blink