sudo: required
language: node_js
node_js:
  - "8"
addons:
    chrome: stable
before_script:
    - "sudo chown root /opt/google/chrome/chrome-sandbox"
    - "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
script: npm run test-ci

before_deploy:
  - cp dist/metricsgraphics.css .
  - cp -r examples/* .
  - cp -r src/js/* js
deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN
  on:
    branch: master

sudo: required
language: node_js
node_js:
  - "8"
addons:
    chrome: stable
before_script:
    - "sudo chown root /opt/google/chrome/chrome-sandbox"
    - "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
script: npm run test-ci

before_deploy:
  - cp dist/metricsgraphics.css dist/metricsgraphics.min.js .
  - cp -r examples/* .
  - cp -r src/js/* js
deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN
  on:
    branch: master

Fix example rendering on front page
Fix example rendering on front page
