# This file is a template, and might need editing before it works on your project. # Official framework image. Look for the different tagged releases at: # https://hub.docker.com/r/library/node/tags/ image: node:latest cache: paths: - node_modules/ stages: - test - deploy test_coverage: stage: test script: - npm install - npm install --global mocha nyc - npm run coverage deploy_prod: stage: deploy script: - echo "Deploying to Production" environment: name: production url: https://leviolson.com only: - master