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/11 23:00:57 UTC

[maven-surefire] branch master updated: [travisci] postbuild step

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


The following commit(s) were added to refs/heads/master by this push:
     new b9b2381  [travisci] postbuild step
b9b2381 is described below

commit b9b2381a3dba6574bb69bd91d45fe0edea29c779
Author: tibordigana <ti...@gmail.com>
AuthorDate: Thu Mar 11 23:55:47 2021 +0100

    [travisci] postbuild step
---
 .travis.yml => .travis.sh | 30 ++++++++----------------------
 .travis.yml               | 10 ++++++----
 2 files changed, 14 insertions(+), 26 deletions(-)

diff --git a/.travis.yml b/.travis.sh
similarity index 57%
copy from .travis.yml
copy to .travis.sh
index d3c6b22..fa8c07f 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,25 +17,8 @@
 # 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 -e -B -V -nsu -P run-its -DskipITs -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-
-branches:
-  only:
-  - master
+if [ -f target/rat.txt ] ; then
+  cat target/rat.txt
+fi
diff --git a/.travis.yml b/.travis.yml
index d3c6b22..6526a3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,9 @@ cache:
   directories:
   - "$HOME/.m2"
 
+matrix:
+  fast_finish: false
+
 install: true
 jdk: openjdk15
 
@@ -31,8 +34,7 @@ jobs:
       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 -e -B -V -nsu -P run-its -DskipITs -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+      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
 
-branches:
-  only:
-  - master
+    - stage: post build check
+      script: bash .travis.sh