Skip to content

Commit f022d83

Browse files
committed
Build project using Travis
1 parent 94c8019 commit f022d83

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: c
2+
3+
sudo: false
4+
5+
before_install:
6+
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
7+
8+
install:
9+
- arduino --install-library "USB Host Shield Library 2.0,Kalman Filter Library"
10+
- arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/TKJElectronics/Balanduino/master/package_tkj_balanduino_index.json" --save-prefs
11+
- arduino --install-boards Balanduino:avr
12+
13+
script:
14+
- arduino --verify --board Balanduino:avr:balanduino:rev=rev12 $PWD/Firmware/Balanduino/Balanduino.ino
15+
- arduino --verify --board Balanduino:avr:balanduino:rev=rev13 $PWD/Firmware/Balanduino/Balanduino.ino

Firmware/Balanduino/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
PORT = /dev/tty.usbserial-DNWYFIDM
33

44
# Set this depending on what revision of the PCB you are using. 1.3 is equal to 13 etc.
5-
BOARD_SUB = balanduino.menu.rev.rev13
6-
#BOARD_SUB = balanduino.menu.rev.rev12
5+
#BOARD_SUB ?= balanduino.menu.rev.rev12
6+
BOARD_SUB ?= balanduino.menu.rev.rev13
77

88
# You should only set the path to your Arduino application if it is not in your path or not the default one:
99
# The default for Linux and Solaris is:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
The code is released under the GNU General Public License.
55
_________
6+
[![Build Status](https://travis-ci.org/TKJElectronics/Balanduino.svg?branch=master)](https://travis-ci.org/TKJElectronics/Balanduino)
67

78
This is the code for the Balanduino, the Open Source Balancing robot.
89

0 commit comments

Comments
 (0)