gitlab-ci: test
This commit is contained in:
parent
29de0c7526
commit
1148005c00
1 changed files with 17 additions and 22 deletions
|
@ -4,7 +4,7 @@ stages:
|
||||||
- prepare
|
- prepare
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- bar
|
- deploy
|
||||||
|
|
||||||
cache: &global_cache
|
cache: &global_cache
|
||||||
key:
|
key:
|
||||||
|
@ -40,30 +40,25 @@ lint:
|
||||||
# cache:
|
# cache:
|
||||||
# <<: *global_cache
|
# <<: *global_cache
|
||||||
|
|
||||||
foo:
|
|
||||||
stage: bar
|
|
||||||
script:
|
|
||||||
- echo "Test!"
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
cache:
|
cache:
|
||||||
<<: *global_cache
|
<<: *global_cache
|
||||||
artifacts:
|
# artifacts:
|
||||||
paths:
|
# paths:
|
||||||
- dist/
|
# - dist/
|
||||||
expire_in: 1 week
|
# expire_in: 1 week
|
||||||
# deploy:
|
deploy:
|
||||||
# stage: deploy
|
stage: deploy
|
||||||
# # dependencies:
|
# dependencies:
|
||||||
# # - build
|
# - build
|
||||||
# script:
|
script:
|
||||||
# - echo "Deploying to production..."
|
- echo "Deploying to production..."
|
||||||
# - ls dist
|
# - ls dist
|
||||||
# # environment:
|
# environment:
|
||||||
# # name: production
|
# name: production
|
||||||
# # url: https://vtt.f3l.de/
|
# url: https://vtt.f3l.de/
|
||||||
# only:
|
only:
|
||||||
# - master
|
- master
|
||||||
|
|
Loading…
Reference in a new issue