From: Simon Brandhof Date: Mon, 1 Dec 2014 15:26:35 +0000 (+0100) Subject: Disable execution of JS tests if -DskipTests X-Git-Tag: 5.0-RC1~122 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=312e3bd4cda4abfe595fd07202dbcf5817ba1410;p=sonarqube.git Disable execution of JS tests if -DskipTests --- diff --git a/server/sonar-web/Gruntfile.coffee b/server/sonar-web/Gruntfile.coffee index de40b2108fc..404017b9b06 100644 --- a/server/sonar-web/Gruntfile.coffee +++ b/server/sonar-web/Gruntfile.coffee @@ -386,12 +386,7 @@ module.exports = (grunt) -> grunt.registerTask 'default', [ - # testing first - 'clean:js', 'coffee:build', 'handlebars:build', 'copy:js', 'concat:dev', - 'express:test', 'casper:test' - - # then build - 'clean:css', 'clean:js', + 'clean:css', 'clean:js', 'less:build', 'cssUrlRewrite:build' 'coffee:build', 'handlebars:build', 'copy:js', 'concat:build', diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml index 8f72108bf80..4cc8a62f8ad 100644 --- a/server/sonar-web/pom.xml +++ b/server/sonar-web/pom.xml @@ -12,7 +12,7 @@ SonarQube :: Web - default + test build src/main/js @@ -188,33 +188,15 @@ - js-tests + skipJsTests - skipWebTests - false + skipTests - - - - com.github.eirslett - frontend-maven-plugin - - - javascript tests - test - - grunt - - - test - - - - - - + + build + release