build:
  image: node:4
  commands:
    - npm test
    - npm run upload-artifacts --color
clone:
  depth: 10
cache:
  mount:
    - .git
    - node_modules
    - typings
environment:
  - CLICOLOR_FORCE=1
  - FORCE_COLOR=1
  - TERM=xterm-256color
deploy:
  artsy:
    host: cov.dryclean.io
    auth: super-secret-auth
    when: '!master'
    files:
        -
            path: ./coverage/Phantom*/coverage-final.json
            label: cover/json
            filename: coverage.json
            binary: false
        -
            path: ./tslint.json
            label: lint-rules/json
            filename: tslint.json
plugin:
  name: artsy
  desc: Aggregate and publish different reports
  type: deploy
  image: plugins/drone-artsy
  labels:
    - coverage
    - reporting
    - lcov
    - simplecov

build:
  image: node:4
  commands:
    - npm test
    - npm run upload-artifacts --color
clone:
  depth: 10
cache:
  mount:
    - .git
    - node_modules
    - typings
environment:
  - CLICOLOR_FORCE=1
  - FORCE_COLOR=1
  - TERM=xterm-256color
deploy:
  artsy:
    host: cov.dryclean.io
    auth: super-secret-auth
    files:
        -
            path: ./coverage/Phantom*/coverage-final.json
            label: cover/json
            filename: coverage.json
            binary: false
        -
            path: ./tslint.json
            label: lint-rules/json
            filename: tslint.json
plugin:
  name: artsy
  desc: Aggregate and publish different reports
  type: deploy
  image: plugins/drone-artsy
  labels:
    - coverage
    - reporting
    - lcov
    - simplecov

Remove when caused unmarshalling error
Remove when caused unmarshalling error
