mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Disabled FF on Travis outside of cron builds
no issue - keeps test builds quicker, saving FF tests for nightly regression builds run via cron
This commit is contained in:
parent
68a98d8e95
commit
a0e9422699
1 changed files with 11 additions and 4 deletions
|
@ -1,13 +1,20 @@
|
|||
/* eslint-env node */
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
const isCronBuild = process.env.TRAVIS_EVENT_TYPE === 'cron';
|
||||
|
||||
let launch_in_ci = ['Chrome'];
|
||||
|
||||
// we only test Firefox in nightly builds on CI to keep push/PR build times lower
|
||||
if (isCronBuild) {
|
||||
launch_in_ci.push('Firefox');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
framework: 'mocha',
|
||||
test_page: 'tests/index.html?hidepassed',
|
||||
disable_watching: true,
|
||||
launch_in_ci: [
|
||||
'Chrome',
|
||||
'Firefox'
|
||||
],
|
||||
launch_in_ci,
|
||||
launch_in_dev: [
|
||||
'Chrome',
|
||||
'Firefox'
|
||||
|
|
Loading…
Add table
Reference in a new issue