machine:
  node:
    version: '4'
dependencies:
  override:
    - npm update && npm run prepublish
test:
  override:
    - ./ci.sh
deployment:
  release:
    tag: /v[0-9]+\.[0-9]+\.[0-9]+/
    commands:
      - pip install awscli
      - ./deploy.sh
general:
  artifacts:
    - "node_modules/mapbox-gl-test-suite/render-tests/index.html"
    - "node_modules/mapbox-gl-test-suite/query-tests/index.html"
