Commit Graph

13 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
90a3c43982 Tests: Strip untypical callback parameter characters from PHP files
Only allow alphanumeric characters & underscores for callback parameters.
This is only test code so we're not fixing any security issue but it happens
often enough that the whole jQuery repository directory structure is deployed
onto the server with PHP enabled that it makes is easy to introduce security
issues if this cleanup is not done.

This is a 1.x/2.x version of PR gh-4871.

The change doesn't require a release; it's meant at installations testing
the latest state of `1.12-stable` & `2.2-stable` branches.

This change also fixes testing on Travis & on Chrome/Firefox.

Closes gh-4875
Ref gh-4764
Ref gh-4871

(cherry picked from acb7c49c8d)
2021-04-29 18:38:11 +02:00
Michał Gołębiowski
1e60327e31 Revert "Build: remove node .10 from travis"
This reverts commit 498fd24f38.

Node 0.10 has updated its npm to v2 so most issues with it should be resolved
now.
2016-04-27 01:22:36 +02:00
Michał Gołębiowski
b93442f179 Build: test on Node.js 6 2016-04-26 22:47:50 +02:00
Oleg Gaidarenko
498fd24f38 Build: remove node .10 from travis 2015-12-22 19:05:26 +03:00
Michał Gołębiowski
06840d8b25 Build: Test on Node 5
(cherry-picked from cbe5b2b79a)
2015-10-30 01:37:18 +01:00
Michał Gołębiowski
fc87a5cd5b 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

(cherry-picked from cea94a83c7)
2015-09-11 21:45:31 +02:00
Michał Gołębiowski
ca0dd7a380 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.

(cherry-picked from 06320c88af)
2015-09-11 21:35:59 +02:00
Michał Gołębiowski
d29c394c1f 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.

(cherry-picked from 250a1990ba)
2015-09-08 22:39:33 +02:00
Jon Hester
dd2e027153 Tests: add the current version of node and iojs to the travis config
Close gh-2121
2015-03-26 17:13:39 -04:00
Michał Gołębiowski
ba352e83af 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/

(cherry-picked from 31f4f8e3f3)

Closes gh-2027
2015-01-29 04:24:32 +01:00
Timmy Willison
a9f5946294 Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:18:12 -05:00
Jörn Zaefferer
292b671a65 Travis: Also install bower 2013-09-12 18:39:25 +02:00
Jörn Zaefferer
f1333ff449 Add Travis CI config for PR testing 2013-09-12 18:39:15 +02:00