Disable failing test on Travis - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 2170943ae6e4bcbbcb9cfad244fec5da8c1d6462
DIR parent 9cd4d359770007b874f16a416c62910e7b082d56
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Fri, 6 Apr 2018 17:31:13 +0200
Disable failing test on Travis
See #4584
Diffstat:
M hugolib/page_test.go | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git 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.