From ce2c688c063cccdff32d20408939f9d57f77857b Mon Sep 17 00:00:00 2001 From: Haotian Wu Date: Mon, 7 May 2018 12:26:27 -0700 Subject: [PATCH] Add travis CI (#16) * add travis CI * switch to trusty dist where openjdk8 is available * skip gpg signing * remove jdk7 * add oracle java9 installer * remove jdk9 --- .travis.yml | 16 ++++++++++++++++ README.md | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..38f14fa8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: java + +addons: + apt: + packages: + - oracle-java8-installer + +jdk: + - openjdk8 + - oraclejdk8 + +install: + - mvn install -DskipTests -Dgpg.skip -Dmaven.javadoc.skip -B -V + +sudo: false +dist: trusty \ No newline at end of file diff --git a/README.md b/README.md index a5066635..3405f977 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/aws/aws-xray-sdk-java.svg?branch=master)](https://travis-ci.org/aws/aws-xray-sdk-java) + # AWS X-Ray SDK for Java ![Screenshot of the AWS X-Ray console](/images/example_servicemap.png?raw=true)