mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
Merge pull request #1141 from hashicorp/f-travis
Try moving to newer Travis-CI infrastructure
This commit is contained in:
commit
93c9c87f7a
@ -10,3 +10,5 @@ branches:
|
|||||||
install: make deps
|
install: make deps
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package agent
|
package agent
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
@ -10,8 +11,12 @@ import (
|
|||||||
|
|
||||||
func TestSyslogFilter(t *testing.T) {
|
func TestSyslogFilter(t *testing.T) {
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
t.SkipNow()
|
t.Skip("Syslog not supported on Windows")
|
||||||
}
|
}
|
||||||
|
if os.Getenv("TRAVIS") == "true" {
|
||||||
|
t.Skip("Syslog not supported on travis-ci")
|
||||||
|
}
|
||||||
|
|
||||||
l, err := gsyslog.NewLogger(gsyslog.LOG_NOTICE, "LOCAL0", "consul")
|
l, err := gsyslog.NewLogger(gsyslog.LOG_NOTICE, "LOCAL0", "consul")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("err: %s", err)
|
t.Fatalf("err: %s", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user