Skip to content

Instantly share code, notes, and snippets.

@briangonzalez
Created August 8, 2016 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save briangonzalez/b4a869cdd4c36411ea4fa6ba2da6471c to your computer and use it in GitHub Desktop.
Save briangonzalez/b4a869cdd4c36411ea4fa6ba2da6471c to your computer and use it in GitHub Desktop.
Chrome + Circle
---
machine:
node:
version: 5.11.1
checkout:
post:
- git fetch origin
- git branch --force lint-ci-release origin/release
dependencies:
override:
- echo "Installing Node Dependencies"
- npm install
- echo "Installing Chrome Driver"
- curl -L -o google-chrome.deb https://s3.amazonaws.com/circle-downloads/google-chrome-stable_current_amd64_47.0.2526.73-1.deb
- sudo dpkg -i google-chrome.deb
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
- rm google-chrome.deb
test:
override:
- npm run eslint-last-change-ci
- npm run test-ci
post:
- npm run coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment