From 362075aeaa269f27ba2c2832026f211c2767d010 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 2 Mar 2020 20:43:11 +0100 Subject: [PATCH] Build: Test the no-Sizzle build on Travis Closes gh-4635 --- .travis.yml | 7 +++++++ package.json | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8fc6c710d..7c7f30f5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,13 @@ matrix: - BROWSERS="ChromeHeadless" addons: chrome: stable + - name: "Browser tests: no-Sizzle build, Chrome stable" + node_js: "12" + env: + - NPM_SCRIPT="test:no-sizzle" + - BROWSERS="ChromeHeadless" + addons: + chrome: stable - name: "Browser tests: AMD build, Chrome stable" node_js: "12" env: diff --git a/package.json b/package.json index a38cf1c17..94d6d026b 100644 --- a/package.json +++ b/package.json @@ -73,8 +73,9 @@ "test:browser": "grunt && grunt karma:main", "test:amd": "grunt && grunt karma:amd", "test:no-deprecated": "grunt test:prepare && grunt custom:-deprecated && grunt karma:main", + "test:no-sizzle": "grunt test:prepare && grunt custom:-sizzle && grunt karma:main", "test:slim": "grunt test:prepare && grunt custom:slim && grunt karma:main", - "test": "npm run test:slim && npm run test:no-deprecated && grunt && grunt test:slow && grunt karma:main && grunt karma:amd", + "test": "npm run test:slim && npm run test:no-deprecated && npm run test:no-sizzle && grunt && grunt test:slow && grunt karma:main && grunt karma:amd", "jenkins": "npm run test:browserless" }, "commitplease": { -- 2.39.5