image: toc-test:latest

git:
  depth: 100

script:
  - xvfb-run -n 1 --server-args="-screen 0, 1024x768x24" gulp verify

deploy:
  bash:
    command: source ./drone-deploy.sh

notify:
  email:
    on_success: change
    on_failure: change, blame
    recipients:
      - toc-drone@lewisl.net

image: toc-test:latest

git:
  depth: 100

script:
  - gulp lint
  - xvfb-run -n 1 --server-args="-screen 0, 1024x768x24" gulp test-unit
  - xvfb-run -n 1 --server-args="-screen 0, 1024x768x24" gulp test-e2e

deploy:
  bash:
    command: source ./drone-deploy.sh

notify:
  email:
    on_success: change
    on_failure: change, blame
    recipients:
      - toc-drone@lewisl.net

Split up build task into separate steps
Split up build task into separate steps
