Simon Priet e69a613a37 feat: Created a mini nodeJS server with NewMan for testing without PostMan GUI.
This will mimic a run in a CD/CI environment or docker container.
2021-09-08 14:01:19 +02:00

39 lines
995 B
YAML

#---------------------------------#
# environment configuration #
#---------------------------------#
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# environment variables
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "5"
- nodejs_version: "6"
# scripts that run after cloning repository
install:
- ps: Install-Product node $env:nodejs_version
- npm install
build: off # Disable MSBuilds, not related to the regular build process
# to run your custom scripts instead of automatic tests
test_script:
- node --version && npm --version
- cmd: "npm test"
# to disable deployment
deploy: off
#---------------------------------#
# notifications #
#---------------------------------#
notifications:
- provider: Slack
incoming_webhook:
secure: PRDZ1nhG/cQrwMgCLXsWvTDJtYxv78GJrSlVYpMzpUploVWDzBlpMqmFr9WxZQkY/lxsqCSpGX4zgTYzlte1WMWnghqTIFE8u7svlXHa/tk=