Commit 43bf2165 authored by Matthieu FAURE's avatar Matthieu FAURE

CHORE CI: lighten build stage + add release stage

parent 5c17bd91
......@@ -5,6 +5,7 @@ stages:
- syntax
- build
- tests
- release
# Select what we should cache
cache:
......@@ -23,13 +24,18 @@ lint:
build:
stage: 'build'
script:
- ng build --prod
- ng build
test:
stage: 'tests'
script:
- ng test --browsers PhantomJS --watch=false --code-coverage
release:
stage: 'release'
script:
- rm -rf dist/
- ng build --prod
artifacts:
paths:
- dist
expire_in: 30 days
name: "e-collectivite-angular-client-$CI_COMMIT_REF_SLUG"
test:
stage: 'tests'
script:
- ng test --browsers PhantomJS --watch=false --code-coverage
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment