File: .travis.yml

package info (click to toggle)
golang-github-gedex-inflector 0.0~git20170307.0.16278e9-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 88 kB
  • ctags: 33
  • sloc: makefile: 2
file content (22 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: Go
go:
    - 1.5.4
    - 1.6.3
    - 1.7
    - tip
matrix:
    include:
        - go: 1.4.3
          script:
              - go get -t -v ./...
              - go test -v -race ./...
    allow_failures:
        - go: tip
    fast_finish: true
install:
    - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
    - go get -t -v ./...
    - diff -u <(echo -n) <(gofmt -d -s .)
    - go tool vet .
    - go test -v -race ./...