Fix ci.sh error detection

This commit is contained in:
Chris Clark
2015-11-18 16:28:26 -08:00
parent 02a887776f
commit 0c27a13a00

View File

@@ -52,15 +52,15 @@ oneNode() {
twoNodes() {
case "$NODE_INDEX" in
0) doctest && lint && integrationtest;;
1) typecheck && unittest;;
0) doctest; lint; integrationtest;;
1) typecheck; unittest;;
*) echo "ERROR: invalid usage"; exit 2;;
esac
}
threeNodes() {
case "$NODE_INDEX" in
0) doctest && lint && integrationtest;;
0) doctest; lint; integrationtest;;
1) typecheck;;
2) unittest;;
*) echo "ERROR: invalid usage"; exit 2;;