-
-
Save Mattchewone/5e067b4698ad88ae56619ac4fbfbdc1c to your computer and use it in GitHub Desktop.
FeathersJS Gitlab CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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