Disable failing test on Travis

See #4584
This commit is contained in:
Bjørn Erik Pedersen 2018-04-06 17:31:13 +02:00
parent 9cd4d35977
commit 2170943ae6
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -18,6 +18,7 @@ import (
"fmt" "fmt"
"html/template" "html/template"
"os" "os"
"runtime"
"path/filepath" "path/filepath"
"reflect" "reflect"
@ -911,6 +912,9 @@ func TestPageWithDate(t *testing.T) {
} }
func TestPageWithLastmodFromGitInfo(t *testing.T) { func TestPageWithLastmodFromGitInfo(t *testing.T) {
if runtime.GOOS != "windows" && os.Getenv("CI") == "" {
t.Skip()
}
assrt := require.New(t) assrt := require.New(t)
// We need to use the OS fs for this. // We need to use the OS fs for this.