Treat compiler warnings as errors and run on travis (#3378)

* Enable compiler warnings as errors and run on travis
This commit is contained in:
Sam El-Husseini
2019-10-31 15:49:28 -07:00
committed by GitHub
parent 123f436e04
commit 93755fef53
7 changed files with 83 additions and 14 deletions

View File

@@ -64,6 +64,9 @@ run_test_command "node" "./node_modules/.bin/mocha tests/node --opts tests/node/
# Run generator tests inside a browser and check the results.
run_test_command "generators" "tests/scripts/run_generators.sh"
# Run the closure compiler ensuring there are no errors.
run_test_command "compile" "npm run build:debug"
# Generate TypeScript typings and ensure there are no errors.
run_test_command "typings" "tests/scripts/compile_typings.sh"
@@ -71,7 +74,7 @@ run_test_command "typings" "tests/scripts/compile_typings.sh"
run_test_command "metadata" "tests/scripts/check_metadata.sh"
# # Attempt advanced compilation of a Blockly app.
# run_test_command "compile" "tests/compile/compile.sh"
# run_test_command "advanced_compile" "tests/compile/compile.sh"
# End of tests.