forked from sandeepmistry/arduino-nRF5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
22 lines (22 loc) · 897 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
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://mhv75.github.io/arduino-nRF5_ATCwatch/package_nRF5_ATCwatch_boards_index.json" --install-boards nrf5_ATCwatch:nRF5 > /dev/null
- buildExampleSketch() { arduino --verbose-build --verify --board $1 $HOME/arduino-ide/examples/$2/$3/$3.ino; }
install:
- mkdir -p $HOME/Arduino/hardware/nrf5_ATCwatch
- ln -s $PWD $HOME/Arduino/hardware/nrf5_ATCwatch/nRF5
script:
- buildExampleSketch nrf5_ATCwatch:nRF5:D6Emulator 1.DSD6
- buildExampleSketch nrf5_ATCwatch:nRF5:HeartRateTest 1.DSD6