summaryrefslogtreecommitdiffstats
path: root/hugolib
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-06 17:31:13 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-06 17:31:13 +0200
commit2170943ae6e4bcbbcb9cfad244fec5da8c1d6462 (patch)
tree16d8c710ca6b84b16b4c125c53c702470510988b /hugolib
parent9cd4d359770007b874f16a416c62910e7b082d56 (diff)
Disable failing test on Travis
See #4584
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/page_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go
index 2b679c842..e2259d063 100644
--- a/hugolib/page_test.go
+++ b/hugolib/page_test.go
@@ -18,6 +18,7 @@ import (
"fmt"
"html/template"
"os"
+ "runtime"
"path/filepath"
"reflect"
@@ -911,6 +912,9 @@ func TestPageWithDate(t *testing.T) {
}
func TestPageWithLastmodFromGitInfo(t *testing.T) {
+ if runtime.GOOS != "windows" && os.Getenv("CI") == "" {
+ t.Skip()
+ }
assrt := require.New(t)
// We need to use the OS fs for this.