From 2ee5f61edd3a3d2bbfdea08bf4ed177244c58bce Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Thu, 28 Mar 2013 16:19:13 +0100 Subject: [PATCH] Include nascent Travis configuration. --- .travis.yml | 7 +++++++ Makefile.TRAVIS | 17 +++++++++++++++++ README.md | 9 ++++++++- client/Makefile.TRAVIS | 6 ++++++ examples/Makefile.TRAVIS | 6 ++++++ utility/Makefile.TRAVIS | 6 ++++++ 6 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 .travis.yml create mode 100644 Makefile.TRAVIS create mode 100644 client/Makefile.TRAVIS create mode 100644 examples/Makefile.TRAVIS create mode 100644 utility/Makefile.TRAVIS diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..2adf58219 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: java + +before_install: +- make -f Makefile.TRAVIS build + +script: +- make -f Makefile.TRAVIS test diff --git a/Makefile.TRAVIS b/Makefile.TRAVIS new file mode 100644 index 000000000..1f57cdec5 --- /dev/null +++ b/Makefile.TRAVIS @@ -0,0 +1,17 @@ +all: test + +build: client utility examples + +client: + $(MAKE) -C client -f Makefile.TRAVIS + +utility: client + $(MAKE) -C utility -f Makefile.TRAVIS + +examples: client + $(MAKE) -C examples -f Makefile.TRAVIS + +test: build + mvn test + +.PHONY: build client examples test utility diff --git a/README.md b/README.md index 1561dd429..1ccb33247 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ client_java -=========== \ No newline at end of file +=========== + +# Getting Started + * All of the core developers are accessible via the [Prometheus Developers Mailinglist](https://groups.google.com/forum/?fromgroups#!forum/prometheus-developers). + +# Testing + +[![Build Status](https://travis-ci.org/prometheus/client_java.png?branch=master)](https://travis-ci.org/prometheus/client_java) diff --git a/client/Makefile.TRAVIS b/client/Makefile.TRAVIS new file mode 100644 index 000000000..620fd3cc3 --- /dev/null +++ b/client/Makefile.TRAVIS @@ -0,0 +1,6 @@ +all: build + +build: + mvn install -DskipTests=true + +.PHONY: build diff --git a/examples/Makefile.TRAVIS b/examples/Makefile.TRAVIS new file mode 100644 index 000000000..620fd3cc3 --- /dev/null +++ b/examples/Makefile.TRAVIS @@ -0,0 +1,6 @@ +all: build + +build: + mvn install -DskipTests=true + +.PHONY: build diff --git a/utility/Makefile.TRAVIS b/utility/Makefile.TRAVIS new file mode 100644 index 000000000..620fd3cc3 --- /dev/null +++ b/utility/Makefile.TRAVIS @@ -0,0 +1,6 @@ +all: build + +build: + mvn install -DskipTests=true + +.PHONY: build