Skip to content

Commit

Permalink
Install e2e deps and run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Feb 23, 2019
1 parent 30cbf2a commit e0e673f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ addons:
packages:
- docker-ce

before_script:
- go get -u sigs.k8s.io/kind
- curl https://github.com/raw/kubernetes/helm/master/scripts/get | bash
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/

script:
- set -e
- make test-fmt
- make test-codegen
- go test -race -coverprofile=coverage.txt -covermode=atomic ./pkg/controller/
- make build
- set -e
- e2e/e2e.sh
- make test-fmt
- make test-codegen
- go test -race -coverprofile=coverage.txt -covermode=atomic ./pkg/controller/
- make build

after_success:
- if [ -z "$DOCKER_USER" ]; then
Expand Down

0 comments on commit e0e673f

Please sign in to comment.