mirror of
https://github.com/hanzoai/grpc-web.git
synced 2026-10-30 18:35:37 +00:00
* Resolved race condition in golang test server * TravisCI -> CircleCI * BrowserStack -> SauceLabs * Simplified local and CI test scripts
17 lines
269 B
Bash
Executable File
17 lines
269 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
set -x
|
|
|
|
function killGoTestServer {
|
|
echo "Killing testserver..."
|
|
killall testserver
|
|
}
|
|
|
|
./start-testserver.sh
|
|
|
|
# Kill the Go Test server when this script exits or is interrupted.
|
|
trap killGoTestServer SIGINT
|
|
trap killGoTestServer EXIT
|
|
|
|
$@
|