Repository: samza Updated Branches: refs/heads/master 4072c9e85 -> 26dc77b08
Add a basic .travis.yml file to run on Travis. Enable gradle caching Use Trusty as a platform Set JDK to 8 Author: Nacho Solis <nso...@linkedin.com> Reviewers: Navina Ramesh <nav...@apache.org> Closes #234 from isolis/add-travis-yml Project: http://git-wip-us.apache.org/repos/asf/samza/repo Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/26dc77b0 Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/26dc77b0 Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/26dc77b0 Branch: refs/heads/master Commit: 26dc77b08c216596dc2b727e90308d14c77fc7a1 Parents: 4072c9e Author: Nacho Solis <nso...@linkedin.com> Authored: Mon Jun 26 17:25:57 2017 -0700 Committer: navina <nav...@apache.org> Committed: Mon Jun 26 17:25:57 2017 -0700 ---------------------------------------------------------------------- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/samza/blob/26dc77b0/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5ed9526 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +# +# 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 + +dist: trusty + +sudo: false + +jdk: + - oraclejdk8 + +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ + +cache: + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/