Add a node and npm package.json script for running java unit tests. Include them in the top-level npm test script. Run java unit tests in travis. Small refactor in gradlebuilder to support building gradle wrapper more easily. Don't explicitly build gradlew on appveyor CI as now npm test will do it for you.

This commit is contained in:
filmaj
2017-09-12 11:21:20 -07:00
parent 53210710ba
commit 03144eb160
5 changed files with 65 additions and 10 deletions
+2 -1
View File
@@ -19,10 +19,11 @@
"apache"
],
"scripts": {
"test": "npm run eslint && npm run unit-tests && npm run e2e-tests",
"test": "npm run eslint && npm run unit-tests && npm run java-unit-tests && npm run e2e-tests",
"unit-tests": "jasmine --config=spec/unit/jasmine.json",
"cover": "istanbul cover --root bin --print detail jasmine -- --config=spec/unit/jasmine.json",
"e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
"java-unit-tests": "cd test && node run_java_unit_tests.js && cd ..",
"eslint": "eslint bin && eslint spec"
},
"author": "Apache Software Foundation",