File: .travis.yml

package info (click to toggle)
dh-make-golang 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 228 kB
  • sloc: sh: 9; makefile: 6
file content (35 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
dist: bionic

language: go

go:
  - 1.11.x
  - 1.13.x
  - master

arch:
  - amd64
  - arm64
  - ppc64le

jobs:
  allow_failures:
    - go: master
  fast_finish: true
  exclude:
    - arch: arm64
      go: 1.11.x

cache:
  directories:
    - $HOME/.cache/go-build
    - $HOME/gopath/pkg/mod

env:
  global:
    - GO111MODULE=on

script:
  - diff -u <(echo -n) <(gofmt -d -s .)
  - go vet ./...
  - go test -v -race ./...