Ghost/ghost/admin/testem.js
Kevin Ansfield bffde8f29f Run Chrome in headless mode on Travis
no issue
- align Travis config more closely to default ember-cli setup
- run Chrome in headless mode in CI (Travis + `ember test`, `ember test --server` is "dev" mode)
- install yarn via install script rather than npm
- remove broccoli cache from Travis cache (not sure it ever worked?)
- remove forced node-sass install (no longer needed)
- add `testem` as a top-level dep to force the latest version (ember-data is pinned at 1.15)
2017-09-02 16:39:49 -04:00

27 lines
564 B
JavaScript

/* eslint-env node */
/* eslint-disable camelcase */
module.exports = {
framework: 'mocha',
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome',
'Firefox'
],
launch_in_dev: [
'Chrome',
'Firefox'
],
browser_args: {
chrome: {
mode: 'ci',
args: [
'--disable-gpu',
'--headless',
'--remote-debugging-port=9222',
'--window-size=1440,900'
]
}
}
};