File: .travis.yml

package info (click to toggle)
golang-github-oklog-ulid 2.0.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bullseye, bullseye-backports, experimental, forky, sid, trixie
  • size: 152 kB
  • sloc: makefile: 3
file content (20 lines) | stat: -rw-r--r-- 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: go
sudo: false
env:
  GO111MODULE=on
go:
  - 1.10.x
  - 1.11.x
  - 1.12.x
install:
  - go get -u -v golang.org/x/lint/golint
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/mattn/goveralls
  - go get -d -t -v ./...
  - go build -v ./...
script:
  - go vet ./...
  - $HOME/gopath/bin/golint .
  - go test -v -race ./...
  - go test -v -covermode=count -coverprofile=cov.out
  - $HOME/gopath/bin/goveralls -coverprofile=cov.out -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true