First pass at simpler travis infrastructure

pull/389/head
Jesse Vincent 8 years ago
parent e0f3dd0cea
commit 559994826a
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -4,15 +4,11 @@ sudo: required
os:
- linux
before_install:
- pushd ..
- wget http://downloads.arduino.cc/arduino-1.6.11-linux64.tar.xz
- tar xf arduino-1.6.11-linux64.tar.xz
- popd
install:
- git clone --recurse-submodules https://github.com/keyboardio/Arduino-Boards hardware/keyboardio/avr
script:
- export DEFAULT_SKETCH=$(cd examples; basename *)
- export ARDUINO_PATH=$(pwd)/../arduino-1.6.11
- export ARDUINO_PATH=$(pwd)/arduino-1.6.11
- export BOARD_HARDWARE_PATH=$(pwd)/hardware
- export EXTRA_BUILDER_ARGS="-libraries ."
- hardware/keyboardio/avr/libraries/Kaleidoscope/tools/kaleidoscope-builder build
- make build-all

@ -0,0 +1,11 @@
# This stub makefile for a Kaleidoscope plugin pulls in
# all targets from the Kaleidoscope-Plugin library
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)/keyboardio/avr/libraries/Kaleidoscope-Plugin/build/*.mk
Loading…
Cancel
Save