aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-01-21 13:26:47 +0100
committerGitHub <noreply@github.com>2020-01-21 13:26:47 +0100
commit46c284b12b4ac89727b1b7a0d5497bc9149cc2af (patch)
treef29d7e557e67d13f086702acabd9fa3e1b8cba1a /.travis.yml
parentd72faced11dc9f785dba5c24c97b045539cbce9c (diff)
downloadjquery-46c284b12b4ac89727b1b7a0d5497bc9149cc2af.tar.gz
jquery-46c284b12b4ac89727b1b7a0d5497bc9149cc2af.zip
Build: Make Karma work in AMD mode
Also, run such a suite in CI to make sure modules are working as expected when used directly. (partially cherry picked from 341c6d1b5abe4829f59fbc32e93f6a6a1afb900f) (partially cherry picked from 437f389a24a6bef213d4df507909e7e69062300b) Closes gh-4595 Ref gh-4550 Ref gh-4574
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 214a80978..43891aeb1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,13 @@ matrix:
addons:
chrome: stable
firefox: latest
+ # Run AMD tests.
+ - node_js: "12"
+ env:
+ - NPM_SCRIPT="test:amd"
+ - BROWSERS="ChromeHeadless"
+ addons:
+ chrome: stable
# Run tests on Firefox ESR as well.
- node_js: "12"
env: