From: Arran Cudbard-Bell Date: Mon, 25 Feb 2013 18:25:58 +0000 (-0500) Subject: First attempt at integrating Travis X-Git-Tag: release_3_0_0_beta1~937 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df8309dec7082b9621e7aa055458ee9493253f59;p=thirdparty%2Ffreeradius-server.git First attempt at integrating Travis --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..b455aa397c7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1 @@ +language: c diff --git a/Makefile b/Makefile index 243300262f9..bd3709a5045 100644 --- a/Makefile +++ b/Makefile @@ -24,8 +24,8 @@ include scripts/boiler.mk # These are not yet converted to the new system SUBDIRS = $(wildcard raddb) -.PHONY: tests -tests: +.PHONY: test +test: @$(MAKE) -C src/tests tests # diff --git a/src/tests/Makefile b/src/tests/Makefile index 88f77b3a945..6e29cd644d3 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile @@ -8,15 +8,10 @@ # include ../../Make.inc -ifeq "$(BOILER)" "yes" - BUILD_PATH := ../../build - BIN_PATH := $(BUILD_PATH)/bin/local - LIB_PATH := $(BUILD_PATH)/lib/local/.libs/ - DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):$(LIB_PATH) -else - BIN_PATH := ../main - DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):../lib/.libs/:../modules/lib/.libs/ -endif +BUILD_PATH := ../../build +BIN_PATH := $(BUILD_PATH)/bin/local +LIB_PATH := $(BUILD_PATH)/lib/local/.libs/ +DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):$(LIB_PATH) export DYLD_LIBRARY_PATH