Skip to content

Commit

Permalink
Use stable chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 committed Sep 18, 2018
1 parent 9554470 commit e40d1fc
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,15 @@ jobs:
command: |
npm config set strict-ssl false
npm install
# install latest chrome unstable version
if node --version | grep -q '^v10'; 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 -qq update
apt-get -qq install -y --no-install-recommends google-chrome-unstable
fi
- run:
name: Pre-Test
# ESLint only supports Node >=4
command: |
if node --version | grep -q '^v10'; 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
npm run test-esm-bundle
if [ -z "$CIRCLE_PULL_REQUESTS" ]; then
Expand Down

0 comments on commit e40d1fc

Please sign in to comment.