File: .travis.yml

package info (click to toggle)
golang-github-canonicalltd-raft-test 0.0~git20180628.c3345b5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 284 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 703 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
language: go

before_install:
  - mkdir -p $GOPATH/src/github.com/hashicorp/
  - git clone -b assorted-fixes https://github.com/freeekanayaka/raft.git $GOPATH/src/github.com/hashicorp/raft
  - go get github.com/go-playground/overalls
  - go get github.com/mattn/goveralls
  - go get github.com/golang/lint/golint
  - go get github.com/tsenart/deadcode
  - go get github.com/kisielk/errcheck

script:
  - go vet
  - golint
  - deadcode
  - project=github.com/CanonicalLtd/raft-test
  - GO_RAFT_TEST_LATENCY=5.0 $GOPATH/bin/overalls -project $project -covermode=count -- -timeout 120s
  - $GOPATH/bin/goveralls -coverprofile overalls.coverprofile -service=travis-ci

go:
  - "1.9"
  - "1.10"
  - "master"