Browse Source

adding stages to deployment scripts

pull/2/head
Levi Olson 6 years ago
parent
commit
8852861e5f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      .gitlab-ci.yml

+ 6
- 0
.gitlab-ci.yml View File

@ -7,16 +7,22 @@ cache:
paths:
- node_modules/
stages:
- test
- deploy
before_script:
- apt-get update -qq && apt-get install -y -qq sshpass
test_coverage:
stage: test
script:
- npm install
- npm install --global mocha nyc
- npm run coverage
deploy_prod:
stage: deploy
script:
- echo "Deploying to Production"
- npm install

Loading…
Cancel
Save