Commit Graph

29 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
d525ae3416
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
2020-01-27 18:54:47 +01:00
Michał Gołębiowski-Owczarek
46c284b12b
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 341c6d1b5a)
(partially cherry picked from 437f389a24)

Closes gh-4595
Ref gh-4550
Ref gh-4574
2020-01-21 13:26:47 +01:00
Michał Gołębiowski-Owczarek
0a73b94a21
Build: Run tests on Firefox ESR as well
Closes gh-4530
2019-10-22 20:20:53 +02:00
Michał Gołębiowski-Owczarek
64c1fcc1cd Build: Run tests on Node.js 13 in addition to 8, 10 & 12
Closes gh-4528

(cherry picked from commit 830976e690)
2019-10-22 20:09:45 +02:00
Michał Gołębiowski-Owczarek
ad3c2efa10 Build: Run tests on Travis on FirefoxHeadless as well
Also, run them on both ChromeHeadless & FirefoxHeadless locally on
`grunt karma:main`.

Plus, so far, the chrome addons were installed for all the jobs, even
the ones that weren't used for browser testing. Changing that makes
those jobs faster.

(cherry-picked from 84835e68239ce55d1fc007b284e8ef4ed2817c2)
2019-10-22 20:07:56 +02:00
Michał Gołębiowski-Owczarek
b4fadc9b54 Build: Test on Node.js 12, stop testing on Node.js 6 & 11
(cherry-picked from b8d4712825)

Closes gh-4369
2019-04-23 23:12:29 +02:00
Michał Gołębiowski-Owczarek
16ad9889f5
Build: Run Karma browser tests on Node.js 10 instead of 8
Node.js 10 has been in Active LTS since 2018-04-24 and Node.js 8 is now in
maintenance mode.

See https://github.com/nodejs/Release for more details.

Closes gh-4311
2019-03-04 19:05:09 +01:00
Michał Gołębiowski-Owczarek
549b32a05a Build: Run tests on Node.js 11 as well 2018-10-31 15:50:09 +01:00
Michał Gołębiowski-Owczarek
7646836577
Build: Test on Node 10, stop testing on Node 4 & 9
Node.js 4 & 9 are ending their life, Node.js 10 has just been released.

Closes gh-4057
2018-04-25 09:55:38 +02:00
Michał Gołębiowski-Owczarek
b95e0da68e
Build: Don't require sudo on Travis, use sandboxless headless Chrome
The Chrome sandbox doesn't work on Travis unless sudo is enabled. Instead,
we're disabling the Chrome sandbox.

Closes gh-4011
2018-03-19 18:12:23 +01:00
Timmy Willison
428ee4a624
Tests: correctly set sudo in travis config, not karma config 2018-01-16 11:17:33 -05:00
Michał Gołębiowski-Owczarek
3c0f2cfb05
Build: Only run browser tests in one Node version on Travis
Ref gh-3744
Closes gh-3894
2018-01-03 09:41:46 +01:00
Timo Tijhof
ecd8ddea33
Tests: Add support for running unit tests via grunt with karma
- Update QUnit to 1.23.1
- Remove unused dl#dl from test/index.html
- Remove unused map#imgmap from test/index.html
- Ensure all urls to data use baseURI
- Add the 'grunt karma:main' task
  - customContextFile & customDebugFile
- Add 'npm run jenkins' script

Close gh-3744
Fixes gh-1999
2017-12-18 12:27:38 -05:00
Michał Gołębiowski-Owczarek
3e902a8120
Build: Test on Node.js 9
Closes gh-3840
2017-11-06 23:14:22 +01:00
Michał Gołębiowski
bef46a2aeb Build: Test on Node.js 8, stop testing on Node.js 7 2017-05-30 21:22:52 +02:00
Michał Gołębiowski
d10ac0e532 Build: Drop support for building on Node.js 0.12
Node.js 0.12 is no longer supported by upstream. So far we had to keep
a workaround that would skip running ESLint there (or even load its task)
as it no longer supports Node.js <4; the same applied to Node smoke tests
as jsdom has also dropped support for those old Node versions. Those
workarounds have been removed now.

Ref 030191ae32
Closes gh-3478
2016-12-30 13:54:59 +01:00
Michał Gołębiowski
5b4cb0d337 Build: Stop testing on Node.js 0.10
Node.js 0.10 loses upstream support today (see https://github.com/nodejs/LTS/)
so let's stop testing against it as well.
2016-10-31 18:38:35 +01:00
Michał Gołębiowski
7bb62bb3ae Build: Run tests on Node.js 7 2016-10-26 12:08:14 +02:00
Michał Gołębiowski
73bf35ecf3 Build: Drop testing on Node.js 5
Node.js 5's upstream support ends in about a month, there is not much point
in testing it when we're releasing a new major version of jQuery
2016-05-29 21:42:54 +02:00
Michał Gołębiowski
ab5ce70cb5 Build: test on Node.js 6 2016-04-26 22:44:11 +02:00
Michał Gołębiowski
cbe5b2b79a Build: Test on Node 5 2015-10-30 01:34:33 +01:00
Michał Gołębiowski
cea94a83c7 Build: Remove a double empty line at the end of .travis.yml
The file already had an empty line at the end, I just can't see.

Refs 06320c88af
2015-09-11 21:44:54 +02:00
Michał Gołębiowski
06320c88af Build: Use double quotes in .travis.yml
.travis.yml used single quotes which is inconsistent with what we use in most
other files. Also, the file was missing an empty line at the end.
2015-09-11 21:35:22 +02:00
Michał Gołębiowski
250a1990ba Build: Drop io.js testing, test on latest Node.js
Node.js & io.js have merged, there will be no more major io.js releases.
Also, as of today io.js is officially unsupported (even if it still gets some
updates) while Node.js 4.0.0 (just released!) will be supported until 2018.
2015-09-08 22:38:29 +02:00
Jon Hester
bd9a1385fe Tests: add the current version of node and iojs to the travis config
Close gh-2121
2015-03-26 17:11:30 -04:00
Michał Gołębiowski
31f4f8e3f3 Build: Speed up the Travis build
Run Travis tests on a container infrastructure to make it start faster.

See http://docs.travis-ci.com/user/workers/container-based-infrastructure/

Closes gh-2027
2015-01-29 04:21:35 +01:00
Timmy Willison
ac7ff97f8b Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:17:18 -05:00
Jörn Zaefferer
4228905b14 Travis: Also install bower 2013-09-12 18:30:28 +02:00
Jörn Zaefferer
dab011e26d Add Travis CI config for PR testing 2013-09-12 18:08:37 +02:00