From 421be5f11f700216094f8787f6e118fc2c0d60dc Mon Sep 17 00:00:00 2001 From: Geoff Cox Date: Tue, 19 Jun 2018 07:17:53 -0700 Subject: [PATCH] test(headless): now need to install chrome --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 652777a..99aeaeb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,13 @@ jobs: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} + + # Install chrome for headless testing + - run: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - + - run: echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list + - run: sudo apt-get update + - run: sudo apt-get install -y google-chrome-stable + - run: npm run assert-beautified - run: npm run jshint - run: npm run node-full-test