Skip to content

Commit

Permalink
:feelsgood:🚥🐛 Run only Firefox on CI (fixes noref)
Browse files Browse the repository at this point in the history
Karma tests continue to fail due to full page reload, only with
Chrome and only within CircleCI. For now, will not run tests on Chrome
in CircleCI.

related homezen#7
  • Loading branch information
Spain committed Jul 29, 2016
1 parent f3586ef commit e8917c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ dependencies:
- uname -a && . /etc/lsb-release && echo $DISTRIB_DESCRIPTION
- npm i -g npm@latest
- npm -v
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get install google-chrome-stable
post:
- npm run check-deps

Expand Down
4 changes: 3 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
const webpack = require('webpack')

const isCI = !!process.env.CI

module.exports = function(config) {
config.set({
browsers: ['Chrome', 'Firefox'],
browsers: isCI ? ['Firefox'] : ['Chrome', 'Firefox'],

files: [
'./src/*.test.js',
Expand Down

0 comments on commit e8917c5

Please sign in to comment.