You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/04/06 13:30:36 UTC
[maven-surefire] 01/04: Test new travis script (cherry picked from
commit 638db0f)
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
commit f72516970038b35d16a860875fc464c6605463e9
Author: Enrico Olivelli <eo...@apache.org>
AuthorDate: Tue Mar 26 15:19:15 2019 +0100
Test new travis script
(cherry picked from commit 638db0f)
---
.travis.yml | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 5635bd2..dcd0f29 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,33 @@
+# 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
-# - oraclejdk9
+sudo: false
-script: "rm -rf .repository && mvn --show-version --no-snapshot-updates --errors --batch-mode -Prun-its clean install -Dmaven.repo.local=.repository -Denforcer.skip=true -e"
+cache:
+ directories:
+ - "$HOME/.m2"
-install: true
+jobs:
+ include:
+ - stage: test
+ jdk: openjdk11
+ script: mvn clean install -Prun-its
branches:
- except:
- - gh-pages
+ only:
+ - master