Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: java

before_install:
- make -f Makefile.TRAVIS build

script:
- make -f Makefile.TRAVIS test
17 changes: 17 additions & 0 deletions Makefile.TRAVIS
Original file line number Diff line number Diff line change
@@ -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
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
client_java
===========
===========

# 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)
6 changes: 6 additions & 0 deletions client/Makefile.TRAVIS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
all: build

build:
mvn install -DskipTests=true

.PHONY: build
6 changes: 6 additions & 0 deletions examples/Makefile.TRAVIS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
all: build

build:
mvn install -DskipTests=true

.PHONY: build
6 changes: 6 additions & 0 deletions utility/Makefile.TRAVIS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
all: build

build:
mvn install -DskipTests=true

.PHONY: build