From 794d47c967c2f4678b9e12308019002bafe7584f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Thu, 26 Sep 2019 20:57:58 +0200 Subject: [PATCH] Add windows to travis (#10249) * Add windows to travis * Update * Do not use sh file on windows * Fix whitespace * Unify command * ./ doesn't work on windows * Remove all ./ usages * Run windows test before others * fix: normalize filename when generating sources sources should be URL. * fix: replace normalized path to cwd * chore: add nodePlatform task options * fix: normalize preset-env filename output * chore: replace normalized path to CWD on win32 platform * limit transform-react-source to run on linux and darwin * test: escapeRegExp on testcases * test: add test for babel --filename on windows * test: double babel-node/cli test timeout * chore: workaround windows build does not stop * chore: remove redundant condition * refactor: rename `nodePlatform` to `os` --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index a603204aea07..9fd61c73f81e 100644 --- a/test/index.js +++ b/test/index.js @@ -198,7 +198,7 @@ fs.readdirSync(fixtureLoc).forEach(function(binName) { opts.inFiles[".babelrc"] = helper.readFile(babelrcLoc); } - it(testName, buildTest(binName, testName, opts)); + it(testName, buildTest(binName, testName, opts), 20000); }); }); });