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 22:22:25 UTC

[maven-surefire] 01/01: [travisci] postbuild step

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

commit 72aa95c95f163d8e7e394dbb5a86e8bb9f33f267
Author: tibordigana <ti...@apache.org>
AuthorDate: Tue Mar 9 11:01:49 2021 +0100

    [travisci] postbuild step
---
 .travis.yml => .travis.sh | 30 ++++++++----------------------
 .travis.yml               |  7 +++----
 2 files changed, 11 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..8e6a9ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,8 +31,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