Skip to content

Instantly share code, notes, and snippets.

@Mattchewone
Last active April 26, 2018 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mattchewone/5e067b4698ad88ae56619ac4fbfbdc1c to your computer and use it in GitHub Desktop.
Save Mattchewone/5e067b4698ad88ae56619ac4fbfbdc1c to your computer and use it in GitHub Desktop.
FeathersJS Gitlab CI
image: node:9
stages:
- test
- deploy
test:
stage: test
services:
- mongo:latest
environment:
name: ci
script:
- npm i
- npm test
coverage:
'/Statements.*?(\d+(?:\.\d+)?)%/'
staging:
image: ruby:latest
stage: deploy
script:
- gem install dpl
- dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_CI_API_KEY
only:
- development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment