summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 34ce8ee3e8a2e9adaa187b9bdff77ee1ae5a2762 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: go

install:
  - go get -d -t -v ./... && go build -v ./...

go:
  - 1.15.x
  - 1.16.x

os:
  - linux
  - osx
  - windows

env:
  jobs:
    - GOARCH=amd64
    - GOARCH=386

script:
  - env GO111MODULE=on go vet ./...
  - env GO111MODULE=on go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic

after_success:
  - bash <(curl -s https://codecov.io/bash)