Skip to content

Commit

Permalink
Merge pull request #466 from buschtoens/460-ci-headless-chrome
Browse files Browse the repository at this point in the history
ci: align Chrome headless usage with ember-cli 2.15
  • Loading branch information
buschtoens authored Jul 21, 2017
2 parents 4825c1c + a428ac9 commit 8b56807
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ cache:
yarn: true

addons:
chrome: stable
code_climate:
repo_token: 88c79d4795cce3095bb0145b329f0a2b2748f3ec4cdf11d7949363a086206560
apt:
packages:
- google-chrome-stable

env:
# we recommend testing LTS's and latest stable release (bonus points to beta/canary)
Expand Down
7 changes: 6 additions & 1 deletion testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ module.exports = {

if (process.env.HEADLESS === 'true') {
module.exports.browser_args = {
'Chrome': ['--headless', '--disable-gpu', '--remote-debugging-port=9222']
'Chrome': [
'--headless',
'--disable-gpu',
'--remote-debugging-port=9222',
'--window-size=1440,900'
]
};
}

0 comments on commit 8b56807

Please sign in to comment.