From f658803e1afd49ce2ad0215210181bad5be7cbf0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 24 Jul 2016 19:08:37 -0700 Subject: [PATCH 1/2] Update link to Travis' build in README. The repository has moved from twitter's GitHub account to the Apache's one. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 609a9fb01..0ef47c89c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/twitter/distributedlog.svg?branch=master)](https://travis-ci.org/twitter/distributedlog) +[![Build Status](https://travis-ci.org/apache/incubator-distributedlog.svg?branch=master)](https://travis-ci.org/apache/incubator-distributedlog) ## Overview From ad62ad73fd9a7e7ccfe9b97443586f1b64e62cf4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 24 Jul 2016 19:09:09 -0700 Subject: [PATCH 2/2] Test the build on Linux and OSX for Travis. Add Apache's license header to the travis configuration. --- .travis.yml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5b6fc698..5d3cb5c60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,30 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. language: java -jdk: - - oraclejdk8 +matrix: + include: + - os: linux + jdk: oraclejdk8 + - os: osx + osx_image: xcode8 -script: mvn clean test +cache: + directories: + - $HOME/.m2 + +script: + - mvn clean verify test