mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Treat compiler warnings as errors and run on travis (#3378)
* Enable compiler warnings as errors and run on travis
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user