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

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new f6f6c7e  Further attempt to simplify and reduce overall Travis CI 
build time
f6f6c7e is described below

commit f6f6c7e6c71f5ce8c6b660f7d040e364ff2578e9
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Fri Dec 6 14:03:43 2019 +0100

    Further attempt to simplify and reduce overall Travis CI build time
---
 .travis.yml | 14 ++++----------
 pom.xml     | 40 ++++------------------------------------
 2 files changed, 8 insertions(+), 46 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ea04e8f..ed7569d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,26 +41,20 @@ stages:
 jobs:
   include:
     - stage: build
-      script: mvn -T 1C install --quiet -P all,skipTests,skipLegalFiles,docker 
-Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Denforcer.skip=true
+      script: mvn -T 1C --quiet -P skipTests,all
       name: "Build"
       #######################################################
     - stage: validate
-      script: mvn -T 1C checkstyle:check ianal:verify-legal-files 
modernizer:modernizer apache-rat:check -Denforcer.skip=true --quiet
+      script: mvn -T 1C checkstyle:check ianal:verify-legal-files 
modernizer:modernizer apache-rat:check --quiet
       name: "Checkstyle, Legal Files, Modernizer and Release Audit Tool (RAT) 
Analysis"
       ######################################################
     - stage: test
-      script: mvn -T 1C clean test -P skipLegalFiles,skipSass --quiet 
-Dinvoker.streamLogs=true -Denforcer.skip=true -Dmodernizer.skip=true
+      script: mvn -T 1C clean test -Dinvoker.streamLogs=true 
-Dmodernizer.skip=true -Dianal.skip=true -Drat.skip=true -Dcheckstyle.skip=true 
-Dskip.sass=true
       name: "Unit Tests"
       ######################################################
     - stage: fit
-      script: travis_wait 55 mvn -f fit/core-reference/pom.xml verify -P 
full-it,all,skipLegalFiles,skipSass -T 1C -Dinvoker.streamLogs=true 
-Denforcer.skip=true -Dmodernizer.skip=true -Djacoco.skip=true -Drat.skip=true
+      script: travis_wait 55 mvn -f fit/core-reference/pom.xml verify -P 
full-it,all -T 1C -Dinvoker.streamLogs=true -Dmodernizer.skip=true 
-Dianal.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Djacoco.skip=true
       name: "Full Integration Tests via JSON Content-Type"
-    # - stage: fit
-    #   script: travis_wait 55 mvn -f fit/core-reference/pom.xml verify -P 
full-it,all,skipLegalFiles,skipSass -T 1C -DjaxrsContentType=application/xml 
-Dinvoker.streamLogs=true -Denforcer.skip=true -Dmodernizer.skip=true 
-Djacoco.skip=true -Drat.skip=true
-    #   name: "Full Integration Tests via XML Content-Type"
-    # - stage: fit
-    #   script: travis_wait 55 mvn -f fit/core-reference/pom.xml verify -P 
full-it,all,skipLegalFiles,skipSass -T 1C -DjaxrsContentType=application/yaml 
-Dinvoker.streamLogs=true -Denforcer.skip=true -Dmodernizer.skip=true 
-Djacoco.skip=true -Drat.skip=true
-    #   name: "Full Integration Tests via YAML Content-Type"
       #####################################################
   after_failure:
     - cat fit/core-reference/target/log/*
diff --git a/pom.xml b/pom.xml
index 0c0e322..23d18f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2670,24 +2670,14 @@ under the License.
     </profile>
 
     <profile>
-      <id>skipLegalFiles</id>
-      <properties>
-        <ianal.skip>true</ianal.skip>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>skipSass</id>
-      <properties>
-        <skip.sass>true</skip.sass>
-      </properties>
-    </profile>
-    
-    <profile>
       <id>skipTests</id>
 
       <properties>
         <skipTests>true</skipTests>
+        <ianal.skip>true</ianal.skip>
+        <modernizer.skip>true</modernizer.skip>
+        <rat.skip>true</rat.skip>
+        <checkstyle.skip>true</checkstyle.skip>
       </properties>
 
       <build>
@@ -2695,17 +2685,6 @@ under the License.
         
         <plugins>
           <plugin>
-            <groupId>org.gaul</groupId>
-            <artifactId>modernizer-maven-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>modernizer-check</id>
-                <phase>none</phase>
-              </execution>
-            </executions>
-          </plugin>
-
-          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-checkstyle-plugin</artifactId>
             <executions>
@@ -2715,17 +2694,6 @@ under the License.
               </execution>
             </executions>
           </plugin>
-      
-          <plugin>
-            <groupId>org.apache.rat</groupId>
-            <artifactId>apache-rat-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>rat-check</id>
-                <phase>none</phase>
-              </execution>
-            </executions>
-          </plugin>
         </plugins>
       </build>
     </profile>

Reply via email to