Skip to content

Commit

Permalink
Merge pull request volcano-sh#307 from k82cn/e2e_test
Browse files Browse the repository at this point in the history
Added e2e test by dind.
  • Loading branch information
k82cn authored Jul 24, 2018
2 parents a7a75cb + fbad03b commit c9326dc
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 c9326dc

Please sign in to comment.