Move go test to the end because it takes longest

pull/587/head
Eugene Kim 6 years ago
parent 5d99b22d30
commit 36e794564a
  1. 18
      scripts/travis_checker.sh

@ -16,15 +16,6 @@ tmpdir=$(mktemp -d)
. "${progdir}/setup_bls_build_flags.sh"
echo "Running go test..."
if go test -v -count=1 ./...
then
echo "go test succeeded."
else
echo "go test FAILED!"
ok=false
fi
echo "Running golint..."
golint_output="${tmpdir}/golint_output.txt"
if "${progdir}/golint.sh" -set_exit_status > "${golint_output}" 2>&1
@ -74,6 +65,15 @@ else
ok=false
fi
echo "Running go test..."
if go test -v -count=1 ./...
then
echo "go test succeeded."
else
echo "go test FAILED!"
ok=false
fi
if ! ${ok}
then
echo "Some checks failed; see output above."

Loading…
Cancel
Save