Add build infrastructure

pull/365/head
Jesse Vincent 8 years ago
parent 89c79ef6fe
commit 135f91dfa3
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -0,0 +1,21 @@
dist: trusty
sudo: false
os:
- linux
install:
- git clone --depth 1 --recurse-submodules https://github.com/keyboardio/Arduino-Boards hardware/keyboardio/avr
script:
- make travis-test BOARD_HARDWARE_PATH=$(pwd)/hardware
notifications:
irc:
channels:
- "chat.freenode.net#keyboardio"
use_notice: true
skip_join: true
template:
- "%{repository_name}/%{branch} %{commit} by %{author}: %{commit_subject} %{build_url} %{message}"
email:
on_success: change
on_failure: change
cache:
ccache: true

@ -0,0 +1,12 @@
# This stub makefile for a Kaleidoscope plugin pulls in
# all targets from the Kaleidoscope-Plugin library
MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build
UNAME_S := $(shell uname -s)
BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware
ifeq ($(UNAME_S),Darwin)
BOARD_HARDWARE_PATH ?= $(HOME)/Library/Arduino/hardware
endif
include $(BOARD_HARDWARE_PATH)/$(MAKEFILE_PREFIX)/*.mk
Loading…
Cancel
Save