Skip to content

Commit

Permalink
Run e2e tests with CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Feb 23, 2019
1 parent 863a546 commit c669dc0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2.1
jobs:
e2e-testing:
machine: true
steps:
- checkout
- run: test/e2e-prerequisites.sh
- run: test/e2e-kind.sh

workflows:
version: 2
build-and-test:
jobs:
- e2e-testing
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ addons:
packages:
- docker-ce

before_script:
- go get -u sigs.k8s.io/kind
- curl https://raw.githubusercontent.com/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/
#before_script:
# - go get -u sigs.k8s.io/kind
# - curl https://raw.githubusercontent.com/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
- e2e/e2e.sh
- make test-fmt
- make test-codegen
- go test -race -coverprofile=coverage.txt -covermode=atomic ./pkg/controller/
Expand Down

0 comments on commit c669dc0

Please sign in to comment.