Skip to content

Commit

Permalink
try using default chrome install
Browse files Browse the repository at this point in the history
  • Loading branch information
fearphage committed Dec 19, 2017
1 parent 177c4b6 commit d078af9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .circleci/config.yml
Expand Up @@ -27,22 +27,14 @@ jobs:
else
npm install
fi
# install latest chrome unstable version
if node --version | grep -q '^v6'; then
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
apt-get update
apt-get install -y --no-install-recommends google-chrome-unstable
fi
- run:
name: Pre-Test
# ESLint only supports Node >=4
command: |
if node --version | grep -q '^v6'; then
npm run lint;
npm run test-headless -- --chrome $(which google-chrome-unstable) --allow-chrome-as-root;
npm run test-webworker -- --chrome $(which google-chrome-unstable) --allow-chrome-as-root;
npm run test-headless -- --allow-chrome-as-root;
npm run test-webworker -- --allow-chrome-as-root;
fi
- run:
name: Test
Expand Down

0 comments on commit d078af9

Please sign in to comment.