From: Bjørn Erik Pedersen Date: Thu, 5 Nov 2020 08:56:22 +0000 (+0100) Subject: Disable NPM test on Travis on Windows X-Git-Tag: v0.78.1~3 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3437174c3a7b96925b82b351ac87530b4fa796a5;p=brevno-suite%2Fhugo Disable NPM test on Travis on Windows For now. --- diff --git a/hugolib/js_test.go b/hugolib/js_test.go index 25617b16..c783bf78 100644 --- a/hugolib/js_test.go +++ b/hugolib/js_test.go @@ -144,6 +144,11 @@ func TestJSBuild(t *testing.T) { t.Skip("skip (relative) long running modules test when running locally") } + if runtime.GOOS == "windows" { + // TODO(bep) we really need to get this working on Travis. + t.Skip("skip npm test on Windows") + } + wd, _ := os.Getwd() defer func() { os.Chdir(wd)