0
Fork 0
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:
Kevin Ansfield 2019-03-11 15:31:23 +00:00
parent 68a98d8e95
commit a0e9422699

View file

@ -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'