Skip to content

Commit

Permalink
improve travis
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Jan 17, 2020
1 parent 308fc49 commit 3546827
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Expand Up @@ -50,16 +50,19 @@ install:
-

script:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
- ./scripts/verify.sh
# 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`
- ./golden_test.sh
- ./test.sh
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then PATH=$PATH:$(pwd) ./test_e2e.sh; fi

jobs:
include:
- stage: Validations
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
# 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`
- ./golden_test.sh
- stage: Go Coverage
before_script:
# The following module is used to integrate the projct with coveralls.io. It allow us to easily sent the data.
Expand Down

0 comments on commit 3546827

Please sign in to comment.