Skip to content

Commit

Permalink
Merge pull request #1141 from hashicorp/f-travis
Browse files Browse the repository at this point in the history
Try moving to newer Travis-CI infrastructure
  • Loading branch information
ryanuber committed Jul 28, 2015
2 parents 6cc2d21 + 40f3e3f commit 93c9c87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: go

go:
- tip
- tip

branches:
only:
- master

install: make deps
script:
- make test
- make test

sudo: false
7 changes: 6 additions & 1 deletion command/agent/syslog_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package agent

import (
"os"
"runtime"
"testing"

Expand All @@ -10,8 +11,12 @@ import (

func TestSyslogFilter(t *testing.T) {
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")
if err != nil {
t.Fatalf("err: %s", err)
Expand Down

0 comments on commit 93c9c87

Please sign in to comment.