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 2021/03/10 20:15:55 UTC

[maven-surefire] branch rat-plugin updated: stage: post build check

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch rat-plugin
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/rat-plugin by this push:
     new f25d22a  stage: post build check
f25d22a is described below

commit f25d22ac3205543011ee10b84f63178bf73b89ea
Author: tibordigana <ti...@gmail.com>
AuthorDate: Wed Mar 10 21:15:36 2021 +0100

    stage: post build check
---
 .travis.yml => .travis.sh | 27 ++++++---------------------
 .travis.yml               |  4 ++--
 2 files changed, 8 insertions(+), 23 deletions(-)

diff --git a/.travis.yml b/.travis.sh
similarity index 56%
copy from .travis.yml
copy to .travis.sh
index 50ad553..0548d69 100644
--- a/.travis.yml
+++ b/.travis.sh
@@ -1,3 +1,6 @@
+#!/bin/sh
+
+#
 # 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
@@ -6,7 +9,7 @@
 # "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
+#   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
@@ -14,24 +17,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+#
 
-language: java
-sudo: false
-
-cache:
-  directories:
-  - "$HOME/.m2"
-
-install: true
-jdk: openjdk15
-
-jobs:
-  include:
-    - stage: repo cleanup
-      script: travis_wait 5 mvn -e -B -V -nsu org.apache.maven.plugins:maven-dependency-plugin:3.1.1:purge-local-repository
-
-    - stage: mvn build
-      script: travis_wait 30 mvn clean install -fn -e -B -V -nsu -P run-its -DskipITs -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-
-    - stage: RAT
-      script: sudo cat target/rat.txt
+[ -r target/rat.txt ] cat target/rat.txt
diff --git a/.travis.yml b/.travis.yml
index 50ad553..8e6a9ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,5 +33,5 @@ jobs:
     - stage: mvn build
       script: travis_wait 30 mvn clean install -fn -e -B -V -nsu -P run-its -DskipITs -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
 
-    - stage: RAT
-      script: sudo cat target/rat.txt
+    - stage: post build check
+      script: bash .travis.sh