We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddb947e + e1c3b21 commit 79ab972Copy full SHA for 79ab972
.travis.yml
@@ -0,0 +1,26 @@
1
+# Request newer Ubuntu version. Xenial (current default) ships collectd 5.5, which is too old.
2
+dist: bionic
3
+language: go
4
+
5
+go:
6
+ - "stable"
7
+ # - "oldstable" # https://github.com/travis-ci/gimme/issues/179
8
+ - "master"
9
10
+before_install:
11
+ - sudo apt-get -y install collectd-dev
12
13
+env:
14
+ - CGO_ENABLED=1 CGO_CPPFLAGS="-I/usr/include/collectd/core/daemon -I/usr/include/collectd/core -I/usr/include/collectd"
15
16
+matrix:
17
+ allow_failures:
18
+ - go: master
19
20
+#before_script:
21
+ - go get golang.org/x/lint/golint
22
23
+script:
24
+ - go test -v -coverprofile=/dev/null ./...
25
+ - go vet ./...
26
+ - golint -set_exit_status ./...
0 commit comments