From 3437174c3a7b96925b82b351ac87530b4fa796a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 5 Nov 2020 09:56:22 +0100 Subject: [PATCH] Disable NPM test on Travis on Windows For now. --- hugolib/js_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hugolib/js_test.go b/hugolib/js_test.go index 25617b168..c783bf781 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)