image: node:6

before_script:
  - npm install
  
test:
  script:
    - npm test
    
pages:
  stage: deploy
  artifacts:
    paths:
      - coverage
    expire_in: 30 days
  only:
    - master