Skip to content

Commit

Permalink
Remove overlapping tests with Prow
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Orive <[email protected]>
  • Loading branch information
Adirio committed Feb 6, 2020
1 parent 48ea4cb commit e4b49e8
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@ cache:
- $HOME/.cache/go-build
- $GOPATH/pkg/mod

os: linux
os:
- linux
- osx

go:
- "1.13"

# A build matrix defines the K8s versions to use for e2e tests. Travis runs these in parallel
env:
- KIND_K8S_VERSION="v1.16.2"
- KIND_K8S_VERSION="v1.15.3"
- KIND_K8S_VERSION="v1.14.1"

git:
depth: 3

Expand All @@ -28,38 +24,22 @@ services: docker
# we don't need to fetch them.
install: skip

before_script: PATH=$PATH:$(pwd)

script: ./test_e2e.sh
script: ./test.sh

jobs:
include:
- stage: linting
env:
before_script: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
script: ./scripts/verify.sh

- stage: golden
# The golden_test.sh check if the the testdata is updated according to the current changes
# To update the testdata use the Makefile targets `make generate-setup` then `make generate-testdata`
env:
before_script: skip
script: ./golden_test.sh

- stage: local
env:
before_script: skip
script: ./test.sh
- stage: local
os: osx
env:
before_script: skip
script: ./test.sh

- stage: coverage
# The following module is used to integrate the projct with goveralls.io. It allow us to easily sent the data.
# The following module is used to integrate the project with coveralls.io. It allow us to easily sent the data.
# More info: https://github.com/mattn/goveralls
env:
before_script: go get github.com/mattn/[email protected]
script:
- make test-coverage
Expand All @@ -68,7 +48,6 @@ jobs:
stages:
- linting
- golden
- local
- test
- coverage

Expand Down

0 comments on commit e4b49e8

Please sign in to comment.