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
1 changed files with 4 additions and 0 deletions

View File

@ -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.