diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-11-22 13:49:53 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-11-22 13:49:53 +0100 |
| commit | 31fc11ef003da1e69b998fd0e0fe6a9b611e9712 (patch) | |
| tree | 70781d9a0e49b6a95e604fc275f6fba92810b6ee /.gitlab-ci.yml | |
| parent | 362b6200c53a5e7720857c2d410423b01c96ee6c (diff) | |
ci.
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..fe6a8949 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +# This file is a template, and might need editing before it works on your project. +# Official framework image. Look for the different tagged releases at: +# https://hub.docker.com/r/library/node/tags/ +image: node:6 + +# This folder is cached between builds +# http://docs.gitlab.com/ce/ci/yaml/README.html#cache +cache: + paths: + - node_modules/ + +test: + script: + - npm install + - npm run unit + +build: + script: + - npm install + - node_modules/webpack/bin/webpack.js |
