Closed
Bug 1193856
Opened 9 years ago
Closed 9 years ago
Set up Continuous Integration for remotely hosted new tab page
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
RESOLVED
FIXED
Iteration:
42.3 - Aug 10
People
(Reporter: oyiptong, Assigned: oyiptong)
References
(Blocks 1 open bug)
Details
Set up an automated build that will:
1) Build the page, including localization
2) Run tests
3) Run a linter for each generated page
4) Possibly run performance tests and/or code coverage tests
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → oyiptong
Assignee | ||
Comment 1•9 years ago
|
||
CI on Travis and Circle have been added https://github.com/mozilla/remote-newtab/tree/neatness
The CI scripts download the latest Nightly, using mozilla-download from npm.
Tests are run using karma, mocha and chai
Assignee | ||
Comment 2•9 years ago
|
||
Deferring localization automation to bug 1186121
Comment 3•9 years ago
|
||
My .jscsrc:
{
"preset": "google",
"fileExtensions": [".js", ".jsm"],
"esnext": true,
"validateQuoteMarks": true
}
Comment 4•9 years ago
|
||
My .jshintrc:
{
"maxerr": 50,
"bitwise": true,
"camelcase": false,
"curly": true,
"eqeqeq": true,
"forin": true,
"freeze": true,
"immed": false,
"indent": 2,
"latedef": false,
"newcap": true,
"noarg": true,
"noempty": true,
"nonbsp": true,
"nonew": false,
"plusplus": false,
"quotmark": "single",
"unused": "strict",
"strict": true,
"maxparams": false,
"maxdepth": 3,
"maxstatements": 3,
"maxcomplexity": 3,
"maxlen": false,
"asi": false,
"boss": false,
"debug": false,
"eqnull": false,
"es5": false,
"esnext": true,
"moz": true,
"evil": false,
"expr": false,
"funcscope": false,
"globalstrict": true,
"iterator": false,
"lastsemic": false,
"laxbreak": false,
"laxcomma": false,
"loopfunc": false,
"multistr": false,
"noyield": true,
"notypeof": false,
"proto": false,
"scripturl": false,
"shadow": false,
"sub": false,
"supernew": false,
"validthis": false,
"browser": true,
"browserify": false,
"couch": false,
"devel": true,
"dojo": false,
"jasmine": false,
"jquery": false,
"mocha": true,
"mootools": false,
"node": false,
"nonstandard": false,
"phantom": false,
"prototypejs": false,
"qunit": false,
"rhino": false,
"shelljs": false,
"typed": false,
"worker": false,
"wsh": false,
"yui": false,
"globals": {
"requestLongerTimeout": true,
"Components": true,
"BrowserTestUtils": true,
"add_task": true,
"Components": true,
"SpecialPowers": true,
"todo_is": true,
"gBrowser": true,
"Assert": true,
}
}
Assignee | ||
Comment 5•9 years ago
|
||
Waiting on coveralls.io for code coverage test.
Will create a separate bug to track
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•