Skip to content

Commit

Permalink
Add script to run tests on prow
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Hill authored and hoegaarden committed Feb 20, 2018
1 parent 93ef391 commit 8c458a4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ go_import_path: github.com/kubernetes-sig-testing/frameworks

before_install:
- source ./bin/consider-early-travis-exit.sh
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/goimports
- go get -u github.com/onsi/ginkgo/ginkgo
- ./bin/install-test-dependencies.sh

# Install must be set to prevent default `go get` to run.
# The dependencies have already been vendored by `dep` so
Expand Down
8 changes: 8 additions & 0 deletions bin/install-test-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

set -e
set -u

go get -u github.com/golang/lint/golint
go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/onsi/ginkgo/ginkgo
7 changes: 7 additions & 0 deletions bin/test-on-prow.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

set -e
set -u

./bin/install-test-dependencies.sh
./bin/pre-commit.sh

0 comments on commit 8c458a4

Please sign in to comment.