Fix travis

This commit is contained in:
Andy Wang 2020-10-16 12:23:11 +01:00
parent 5addecc33b
commit 535e187d51
1 changed files with 8 additions and 6 deletions

View File

@ -12,16 +12,18 @@ env:
jobs: jobs:
include: include:
- script: go test -race -coverprofile=coverage.txt -coverpkg=./... -covermode=atomic ./... - stage: Build, Unit-Tests
- after_success: bash <(curl -s https://codecov.io/bash)
- stage: Build, Unit-Tests & Fuzz-Tests
go: 1.14
script: script:
- go test -race -coverprofile=coverage.txt -coverpkg=./... -covermode=atomic ./...
- bash <(curl -s https://codecov.io/bash)
- stage: Fuzz-Tests
script:
- chmod +x ./fuzzit.sh
- ./fuzzit.sh local-regression - ./fuzzit.sh local-regression
- stage: Fuzzit (Fuzzing) - stage: Fuzzit (Fuzzing)
if: branch = master AND type IN (push) if: branch = master AND type IN (push)
go: 1.14
script: script:
- chmod +x ./fuzzit.sh
- ./fuzzit.sh fuzzing - ./fuzzit.sh fuzzing