Skip to content

Commit

Permalink
installing latest version of chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
fearphage committed Dec 19, 2017
1 parent 5cea23a commit 0feae33
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
name: Install dependencies
command: |
npm config set strict-ssl false
if ! node --version | grep -q '^v6'; then
# Avoid downloading chromium unnecessarily
npm config set ignore-scripts true
fi
npm install
npm config set ignore-scripts false
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
Expand All @@ -45,6 +47,8 @@ jobs:
<<: *common-build
docker:
- image: node:4
environment:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true

node-6:
<<: *common-build
Expand All @@ -55,6 +59,8 @@ jobs:
<<: *common-build
docker:
- image: node:8
environment:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true

workflows:
version: 2
Expand Down

0 comments on commit 0feae33

Please sign in to comment.