forked from collectd/go-collectd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (24 loc) · 778 Bytes
/
.travis.yml
File metadata and controls
32 lines (24 loc) · 778 Bytes
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
# Request newer Ubuntu version. Xenial (current default) ships collectd 5.5, which is too old.
dist: bionic
language: go
go:
- "stable"
# - "oldstable" # https://github.com/travis-ci/gimme/issues/179
- "master"
before_install:
- sudo apt-get -y install collectd-dev
env:
- CGO_ENABLED=1 CGO_CPPFLAGS="-I/usr/include/collectd/core/daemon -I/usr/include/collectd/core -I/usr/include/collectd"
go_import_path: collectd.org
matrix:
allow_failures:
- go: master
before_script:
- go get golang.org/x/lint/golint
script:
- go test -coverprofile=/dev/null ./...
- ./check_fmt.sh
- go vet ./...
- golint -set_exit_status {cdtime,config,exec,export,format,meta,network}/... plugin/ rpc/
# TODO(octo): run the fuzz test:
# - go test -v -tags gofuzz ./...