polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [36/50] [abbrv] polygene-java git commit: :tools:generator build only skip tests when running on CI
Date Tue, 16 May 2017 18:51:28 GMT
:tools:generator build only skip tests when running on CI

So that at least we exercise the tests locally


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/49555b45
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/49555b45
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/49555b45

Branch: refs/heads/master
Commit: 49555b45c6415e114c2e97a22f1bc7c144f0c9a6
Parents: 754c0b2
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon May 15 14:02:20 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon May 15 14:02:50 2017 +0200

----------------------------------------------------------------------
 tools/generator-polygene/build.gradle | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/49555b45/tools/generator-polygene/build.gradle
----------------------------------------------------------------------
diff --git a/tools/generator-polygene/build.gradle b/tools/generator-polygene/build.gradle
index 2711124..06eaa0e 100644
--- a/tools/generator-polygene/build.gradle
+++ b/tools/generator-polygene/build.gradle
@@ -73,9 +73,7 @@ def npmTest = task( 'npmTest', type: NpmTask ) {
     file( "$buildDir/build/npm-test" ).deleteDir()
   }
 }
-// TODO This disable generator checks that fails on CI - TODO REMOVE ME
-// See https://builds.apache.org/view/P/view/Polygene/job/Polygene(JavaEdition)-develop-java8-check/341/console
-// check.dependsOn npmTest
+check.dependsOn npmTest
 
 /**
  * Runs ALL the generator tests.
@@ -93,3 +91,10 @@ task( 'npmTestAll', type: NpmTask ) {
     file( "$buildDir/build/npm-test" ).deleteDir()
   }
 }
+
+// TODO This disable generator checks that fails on CI - TODO REMOVE ME
+// See https://builds.apache.org/view/P/view/Polygene/job/Polygene(JavaEdition)-develop-java8-check/341/console
+if( System.getenv( 'BUILD_ID' ) != null )
+{
+  npmTest.enabled = false
+}


Mime
View raw message