aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-01-07 23:59:08 +0100
committerGitHub <noreply@github.com>2020-01-07 23:59:08 +0100
commit0f780ba7cc5968d53bba386bdcb59b8d9410873b (patch)
tree7b67a1637447eea398606dc516e1f7a8cd8e22ab /.travis.yml
parent1dad1185e0b2ca2a13bf411558eda75fb2d4da88 (diff)
downloadjquery-0f780ba7cc5968d53bba386bdcb59b8d9410873b.tar.gz
jquery-0f780ba7cc5968d53bba386bdcb59b8d9410873b.zip
Build:Tests: Fix custom build tests, verify on Travis
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 future (#4553) slim build: `custom:-ajax,-callbacks,-deferred,-effects` It also adds separate Travis jobs for the no-deprecated & slim builds. Closes gh-4577
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 114a9e9b2..02a0e04dd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,20 @@ matrix:
addons:
chrome: stable
firefox: latest
+ # Run tests against the slim build.
+ - node_js: "12"
+ env:
+ - NPM_SCRIPT="test:slim"
+ - BROWSERS="ChromeHeadless"
+ addons:
+ chrome: stable
+ # Run tests against the no-deprecated build.
+ - node_js: "12"
+ env:
+ - NPM_SCRIPT="test:no-deprecated"
+ - BROWSERS="ChromeHeadless"
+ addons:
+ chrome: stable
# Run ES module tests.
- node_js: "12"
env: