File: .travis.yml

package info (click to toggle)
golang-github-docopt-docopt-go 0.6.2%2Bgit20160216.0.784ddc5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 220 kB
  • ctags: 180
  • sloc: makefile: 11
file content (31 lines) | stat: -rw-r--r-- 719 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
# Travis CI (http://travis-ci.org/) is a continuous integration
# service for open source projects. This file configures it
# to run unit tests for docopt-go.

language: go

go:
    - 1.4
    - 1.5
    - tip

matrix:
    fast_finish: true

before_install:
    - go get golang.org/x/tools/cmd/vet
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/golang/lint/golint
    - go get github.com/mattn/goveralls

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

script:
    - go vet -x ./...
    - $HOME/gopath/bin/golint ./...
    - go test -v ./...
    - go test -covermode=count -coverprofile=profile.cov .

after_script:
    - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci