AlexAegis/loreplotter

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: node_js
node_js:
    - 'lts/*'
dist: trusty
sudo: false

before_script:
    - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
    - chmod +x ./cc-test-reporter
    - ./cc-test-reporter before-build

cache:
    directories:
        - node_modules

addons:
    chrome: stable

script:
    - npm run lint
    - npm run build:ghpages

deploy:
    provider: pages
    skip_cleanup: true
    github_token: $GITHUB_TOKEN
    local_dir: dist/loreplotter
    on:
        branch: master