Make all the Travis test scripts exit in the event of error.

Test scripts that ignore errors aren't very helpful.
This commit is contained in:
Ewan Mellor 2018-11-15 09:23:17 -08:00
parent 481f517fec
commit 443a1d2454
No known key found for this signature in database
GPG Key ID: 7CE1C6BC9EC8645D
8 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -euo pipefail
if [ $GROUP == "LEXER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=cpp.* test
elif [ $GROUP == "PARSER" ]; then

View File

@ -1,3 +1,5 @@
#!/bin/bash
set -euo pipefail
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=csharp.* test

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -euo pipefail
# we need to build the runtime before test run, since we used "--no-dependencies"
# when we call dotnet cli for restore and build, in order to speed up

View File

@ -1,3 +1,5 @@
#!/bin/bash
set -euo pipefail
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=go.* test

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -euo pipefail
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=java.* test
cd ../tool-testsuite
mvn test

View File

@ -1,3 +1,5 @@
#!/bin/bash
set -euo pipefail
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=node.* test

View File

@ -1,3 +1,5 @@
#!/bin/bash
set -euo pipefail
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=python2.* test

View File

@ -1,3 +1,5 @@
#!/bin/bash
set -euo pipefail
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=python3.* test