Skip to content

Commit

Permalink
Merge 2945d86 into 507fb31
Browse files Browse the repository at this point in the history
  • Loading branch information
odidev committed Sep 25, 2020
2 parents 507fb31 + 2945d86 commit caf0f59
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion .travis.yml
Expand Up @@ -21,38 +21,73 @@ jobs:
include:
- stage: Format Checker
script: bash -x scripts/travis/formatChecker.sh
- arch: arm64
script: bash -x scripts/travis/formatChecker.sh
- stage: DeadCode Checker
script:
- go get -u github.com/tsenart/deadcode
- bash -x scripts/travis/deadCodeChecker.sh
- arch: arm64
script:
- go get -u github.com/tsenart/deadcode
- bash -x scripts/travis/deadCodeChecker.sh
- stage: Misspell Checker
script:
- go get -u github.com/client9/misspell
- bash -x scripts/travis/misspellChecker.sh
- arch: arm64
script:
- go get -u github.com/client9/misspell
- bash -x scripts/travis/misspellChecker.sh
- stage: GoConst Checker
script:
- go get -u github.com/jgautheron/goconst/cmd/goconst
- bash -x scripts/travis/goConstChecker.sh
- arch: arm64
script:
- go get -u github.com/jgautheron/goconst/cmd/goconst
- bash -x scripts/travis/goConstChecker.sh
- stage: GoLint Checker
script:
- go get -u golang.org/x/lint/golint
- bash -x scripts/travis/goLintChecker.sh
- arch: arm64
script:
- go get -u golang.org/x/lint/golint
- bash -x scripts/travis/goLintChecker.sh
- stage: GoCyclo Checker
script:
- go get github.com/fzipp/gocyclo
- bash -x scripts/travis/goCycloChecker.sh
- arch: arm64
script:
- go get github.com/fzipp/gocyclo
- bash -x scripts/travis/goCycloChecker.sh
- stage: GoSecure Checker
script:
- go get github.com/securego/gosec/cmd/gosec
- bash -x scripts/travis/goSecureChecker.sh
- arch: arm64
script:
- go get github.com/securego/gosec/cmd/gosec
- bash -x scripts/travis/goSecureChecker.sh
- stage: Build
script:
- GO111MODULE=on go mod download
- go build github.com/apache/servicecomb-mesher/cmd/mesher
- arch: arm64
script:
- GO111MODULE=on go mod download
- go build github.com/apache/servicecomb-mesher/cmd/mesher
- stage: Unit Test
script:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- GO111MODULE=on go mod download
- bash -x scripts/travis/unit_test.sh && $HOME/gopath/bin/goveralls -coverprofile=coverage.txt -service=travis-ci

- arch: arm64
script:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- GO111MODULE=on go mod download
- bash -x scripts/travis/unit_test.sh && $HOME/gopath/bin/goveralls -coverprofile=coverage.txt -service=travis-ci

0 comments on commit caf0f59

Please sign in to comment.