Skip to content

Commit

Permalink
Added e2e test by dind.
Browse files Browse the repository at this point in the history
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
  • Loading branch information
k82cn committed Jul 24, 2018
1 parent a7a75cb commit fbad03b
Show file tree
Hide file tree
Showing 5 changed files with 1,720 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
language: go

sudo: required

services:
- docker

go:
- "1.10"

go_import_path: github.com/kubernetes-incubator/kube-arbitrator

install:
- go get -u github.com/golang/lint/golint
# - ./hack/install-etcd.sh

before_script:
- export TEST_LOG_LEVEL=4
# - export PATH=`pwd`/third_party/etcd:${PATH}

script:
- make verify
- make
- make run-test
- make e2e

notifications:
webhooks: https://www.travisbuddy.com/
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ images: kube-arbitrator
run-test:
hack/make-rules/test.sh $(WHAT) $(TESTS)

e2e: kube-arbitrator
hack/e2e-cluster.sh
cd test && go test -v

coverage:
KUBE_COVER=y hack/make-rules/test.sh $(WHAT) $(TESTS)

Expand Down
Loading

0 comments on commit fbad03b

Please sign in to comment.