Create .gitlab-ci.yml

This commit is contained in:
Anthony Dumas 2019-11-26 15:52:13 +01:00 committed by GitHub
parent 22ea974ac3
commit b11f439fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,19 @@
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: node:latest
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
test_async:
script:
- npm install
- node ./specs/start.js ./specs/async.spec.js
test_db:
script:
- npm install
- node ./specs/start.js ./specs/db-postgres.spec.js