From 0bd4fdd742a27220e44dca28dfe4750c6d3ee747 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 25 Jan 2016 13:32:46 -0800 Subject: [PATCH] Added travis-ci. --- .travis.yml | 4 ++++ README.html | 3 ++- README.md | 5 ++++- build.gradle | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) 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 ca483a1..644dbf5 100644 --- a/README.html +++ b/README.html @@ -49,6 +49,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf

HttpStatus JSP Tag Library

+

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

A simple JSP Tag Library to display the code, reason and/or cause for HTTP status codes in JSP error pages.


For example:

@@ -447,7 +448,7 @@ Cause: <pre><hs:cause default<
-

Use with Gradle or Maven

+

Usage with Gradle or Maven

Include the following in your build.gradle file:

dependencies {
     compile 'net.thauvin.erik.httpstatus:httpstatus:1.0.3'
diff --git a/README.md b/README.md
index 785b548..1f0b906 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,8 @@
 #  HttpStatus JSP Tag Library
 
+[![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/56a6947a1b78fd002d00018a/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56a6947a1b78fd002d00018a) [![Build Status](https://travis-ci.org/ethauvin/HttpStatus.svg?branch=master)](https://travis-ci.org/ethauvin/HttpStatus) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus)
+
+
 A simple [JSP](http://www.oracle.com/technetwork/java/javaee/jsp/index.html) Tag Library to display the [code](#hscode), [reason](#hsreason) and/or [cause](#hscode) for [HTTP status codes](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) in JSP error pages.
 
 ----
@@ -147,7 +150,7 @@ Status Code | Reason
 
 ----
 
-## Use with [Gradle](https://gradle.org/) or [Maven](http://maven.apache.org/)
+## Usage with [Gradle](https://gradle.org/) or [Maven](http://maven.apache.org/)
 Include the following in your `build.gradle` file:
 
 ```gradle
diff --git a/build.gradle b/build.gradle
index bf8af39..70ae359 100644
--- a/build.gradle
+++ b/build.gradle
@@ -66,7 +66,7 @@ dependencies {
 	compile 'javax.servlet:javax.servlet-api:3.1.0'
 	compile 'javax.servlet.jsp:jsp-api:2.2'
 
-	testCompile 'org.testng:testng:+'
+	testCompile 'org.testng:testng:6.9.10'
 }
 
 bintray {