File: .travis.yml

package info (click to toggle)
golang-github-google-pprof 0.0~git20190109.e84dfd6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,720 kB
  • sloc: sh: 55; makefile: 9
file content (61 lines) | stat: -rw-r--r-- 1,249 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: go

go_import_path: github.com/google/pprof

matrix:
  include:
    - os: linux
      go: 1.10.x
    - os: linux
      go: 1.11.x
    - os: linux
      go: master
    - os: osx
      osx_image: xcode8.3
      go: 1.10.x
    - os: osx
      osx_image: xcode8.3
      go: 1.11.x
    - os: osx
      osx_image: xcode8.3
      go: master
    - os: osx
      osx_image: xcode9.4
      go: 1.10.x
    - os: osx
      osx_image: xcode9.4
      go: 1.11.x
    - os: osx
      osx_image: xcode9.4
      go: master
    - os: osx
      osx_image: xcode10.1
      go: 1.10.x
    - os: osx
      osx_image: xcode10.1
      go: 1.11.x
    - os: osx
      osx_image: xcode10.1
      go: master

addons:
  apt:
    packages:
      - graphviz
  homebrew:
    packages:
      - graphviz
    update: true
    
before_install:
  - go get -u golang.org/x/lint/golint honnef.co/go/tools/cmd/...

script:
  - gofmtdiff=$(gofmt -s -d .) && if [ -n "$gofmtdiff" ]; then printf 'gofmt -s found:\n%s\n' "$gofmtdiff" && exit 1; fi
  - golintlint=$(golint ./...) && if [ -n "$golintlint" ]; then printf 'golint found:\n%s\n' "$golintlint" && exit 1; fi
  - go vet -all ./...
  - gosimple ./...
  - ./test.sh

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