Closed Bug 939915 Opened 12 years ago Closed 12 years ago

Add switch to use Acorn instead of Spidermonkey for Travis

Categories

(Marketplace Graveyard :: Validation, defect, P4)

Avenir
x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: basta, Unassigned)

Details

Travis currently can't run any test which relies on JS validation because we can't install Spidermonkey on the server. Instead, we should add a `--acorn` flag which switches from spidermonkey.py to acorn.py. They work mostly the same, except acorn is slower and doesn't support certain ES6 constructs. Some tasks: - Add CLI switch - Stop skipping JS tests - Make travis install acorn - Add skips for JS tests that use ES6 "let" stuff - Update travis.yml to pass --acorn This is slightly important since Jenkins doesn't test pull requests, which is the real way that most contributions end up in the validator.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.