From f3fcf5dc824c6e5b0f31c84d8f21ddc4a4992826 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 25 Jan 2016 12:50:03 -0800 Subject: [PATCH] Added travis-ci. --- .travis.yml | 4 ++++ README.html | 1 + README.md | 2 ++ build.gradle | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2b2dfcb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: java + +jdk: + - oraclejdk8 \ No newline at end of file diff --git a/README.html b/README.html index 8e3fbb8..5faf97b 100644 --- a/README.html +++ b/README.html @@ -49,6 +49,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf

Semantic Version Annotation Processor

+

License (3-Clause BSD) Dependency Status Build Status Maven Central

An annotation processor that automatically generates a GeneratedVersion class containing the semantic version (major, minor, patch, etc.) that is read from a Properties file or defined in the annotation.

This processor was inspired by Cédric Beust's version-processor.

Examples

diff --git a/README.md b/README.md index 676aa1f..3afbdb7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Semantic Version Annotation Processor +[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Dependency Status](https://www.versioneye.com/user/projects/56a680101b78fd00390001d2/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56a680101b78fd00390001d2) [![Build Status](https://travis-ci.org/ethauvin/semver.svg?branch=master)](https://travis-ci.org/ethauvin/semver) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/semver/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/semver) + An [annotation processor](https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html) that automatically generates a `GeneratedVersion` class containing the [semantic version](http://semver.org/) (major, minor, patch, etc.) that is read from a `Properties` file or defined in the [annotation](https://docs.oracle.com/javase/tutorial/java/annotations/basics.html). This processor was inspired by Cédric Beust's [version-processor](https://github.com/cbeust/version-processor). diff --git a/build.gradle b/build.gradle index 8436ed6..3852ab7 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ repositories { dependencies { compile 'org.apache.velocity:velocity:1.7' - testCompile 'org.testng:testng:+' + testCompile 'org.testng:testng:6.9.10' } bintray {