travis: build gadget-zero tests as well

This helps catch some perhaps unintended api changes
This commit is contained in:
Karl Palsson 2018-02-24 13:01:42 +00:00
parent a1264f5065
commit 5cb852efde
2 changed files with 18 additions and 1 deletions

View File

@ -1,5 +1,7 @@
language: c
script: make
script:
- make
- make -C tests/gadget-zero
addons:
apt:

View File

@ -0,0 +1,15 @@
# This is just a stub makefile used for travis builds
# to keep things all compiling. Normally you'd use
# one of the makefiles directly.
# These hoops are to enable parallel make correctly.
GZ_ALL := $(wildcard Makefile.*)
all: $(GZ_ALL:=.all)
clean: $(GZ_ALL:=.clean)
%.all:
make -f $* all
%.clean:
make -f $* clean