add kokoko resources (#65)

diff --git a/internal/kokoro/test.sh b/internal/kokoro/test.sh
new file mode 100755
index 0000000..a116c4c
--- /dev/null
+++ b/internal/kokoro/test.sh
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+# TODO(deklerk) Add integration tests when it's secure to do so. b/64723143
+
+# Fail on any error
+set -eo pipefail
+
+# Display commands being run
+set -x
+
+# cd to project dir on Kokoro instance
+cd git/gax-go
+
+go version
+
+# Set $GOPATH
+export GOPATH="$HOME/go"
+export GAX_HOME=$GOPATH/src/googleapis/gax-go
+export PATH="$GOPATH/bin:$PATH"
+mkdir -p $GAX_HOME
+
+# Move code into $GOPATH and get dependencies
+git clone . $GAX_HOME
+cd $GAX_HOME
+
+try3() { eval "$*" || eval "$*" || eval "$*"; }
+try3 go get -v -t ./...
+
+./internal/kokoro/vet.sh
+
+# Run tests and tee output to log file, to be pushed to GCS as artifact.
+go test -race -v ./... 2>&1 | tee $KOKORO_ARTIFACTS_DIR/$KOKORO_GERRIT_CHANGE_NUMBER.txt
\ No newline at end of file
diff --git a/internal/kokoro/trampoline.sh b/internal/kokoro/trampoline.sh
new file mode 100644
index 0000000..ba17ce0
--- /dev/null
+++ b/internal/kokoro/trampoline.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+# Copyright 2018 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+set -eo pipefail
+# Always run the cleanup script, regardless of the success of bouncing into
+# the container.
+function cleanup() {
+    chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
+    ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
+    echo "cleanup";
+}
+trap cleanup EXIT
+python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py"
diff --git a/internal/kokoro/vet.sh b/internal/kokoro/vet.sh
new file mode 100755
index 0000000..b97bb19
--- /dev/null
+++ b/internal/kokoro/vet.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+# Fail on any error
+set -eo pipefail
+
+# Display commands being run
+set -x
+
+# Only run the linter on go1.11, since it needs type aliases (and we only care about its output once).
+# TODO(deklerk) We should pass an environment variable from kokoro to decide this logic instead.
+if [[ `go version` != *"go1.11"* ]]; then
+    exit 0
+fi
+
+pwd
+
+try3() { eval "$*" || eval "$*" || eval "$*"; }
+
+try3 go get -u \
+  golang.org/x/lint/golint \
+  golang.org/x/tools/cmd/goimports \
+  golang.org/x/lint/golint \
+  honnef.co/go/tools/cmd/staticcheck
+
+# Look at all .go files (ignoring .pb.go files) and make sure they have a Copyright. Fail if any don't.
+git ls-files "*[^.pb].go" | xargs grep -L "\(Copyright [0-9]\{4,\}\)" 2>&1 | tee /dev/stderr | (! read)
+gofmt -s -d -l . 2>&1 | tee /dev/stderr | (! read)
+goimports -l . 2>&1 | tee /dev/stderr | (! read)
\ No newline at end of file