Codebase list golang-github-renekroon-ttlcache / 6d3d4eae-0ce5-4a0c-b3eb-74e2c83f426b/main .travis.yml
6d3d4eae-0ce5-4a0c-b3eb-74e2c83f426b/main

Tree @6d3d4eae-0ce5-4a0c-b3eb-74e2c83f426b/main (Download .tar.gz)

.travis.yml @6d3d4eae-0ce5-4a0c-b3eb-74e2c83f426b/main

d1510c8
 
 
e67a07c
8af4104
762a037
d1510c8
 
 
 
 
aa8a254
 
d1510c8
762a037
 
d1510c8
 
 
0634dc9
762a037
a00c22c
762a037
language: go

go:
  - "1.17.x"
  - "1.16.x"

git:
  depth: 1

install:
  - go install -race std
  - go install golang.org/x/tools/cmd/cover
  - go install golang.org/x/lint/golint
  - export PATH=$HOME/gopath/bin:$PATH
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/mattn/goveralls

script:
  - golint .
  - go test -cover -race -count=1 -timeout=30s -run .
  - go test -covermode=count -coverprofile=coverage.out -timeout=90s -run .
  - if test ! -z "$COVERALLS_TOKEN"; then $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
  - cd bench; go test -run=Bench.* -bench=. -benchmem; cd ..