aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-01-27 18:54:47 +0100
committerGitHub <noreply@github.com>2020-01-27 18:54:47 +0100
commitd525ae3416417186330bb3d14133df84509803a0 (patch)
tree7f6920f6228a5d8934f539abba28f8f8ed756191 /package.json
parent7a3cf9c03cc34d5493383852f94d96fe4a3486ef (diff)
downloadjquery-d525ae3416417186330bb3d14133df84509803a0.tar.gz
jquery-d525ae3416417186330bb3d14133df84509803a0.zip
Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs
This commit fixes unit tests for the following builds: 1. The no-deprecated build: `custom:-deprecated` 2. The current slim build: `custom:-ajax,-effects` 3. The 4.0 (#4553) slim build: `custom:-ajax,-callbacks,-deferred,-effects` It also adds separate Travis jobs for the no-deprecated & slim builds. Apart from that, add intuitive names to Travis jobs. Otherwise it's hard to see at a glance that a particular job is running on Firefox ESR, for example. Ref gh-4577 Ref gh-4596 Closes gh-4600
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 905e6a15e..a38cf1c17 100644
--- a/package.json
+++ b/package.json
@@ -72,7 +72,9 @@
"test:browserless": "grunt && grunt test:slow",
"test:browser": "grunt && grunt karma:main",
"test:amd": "grunt && grunt karma:amd",
- "test": "grunt && grunt test:slow && grunt karma:main && grunt karma:amd",
+ "test:no-deprecated": "grunt test:prepare && grunt custom:-deprecated && 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",
"jenkins": "npm run test:browserless"
},
"commitplease": {