This commit is contained in:
dbroqua 2020-02-11 20:52:06 +01:00
parent 0d8f1971f7
commit a1c35a6c56

View File

@ -7,24 +7,12 @@ variables:
POSTGRES_PASSWORD: "postgres" POSTGRES_PASSWORD: "postgres"
stages: stages:
# - build
# - migrate
- test - test
- pages
cache: cache:
paths: paths:
- node_modules/ - node_modules/
# install:
# stage: build
# script:
# - yarn install
# artifacts:
# paths:
# - node_modules/
# migrate:
# stage: migrate
# script:
# - ./node_modules/.bin/sequelize db:migrate
testing: testing:
stage: test stage: test
@ -41,3 +29,16 @@ testing:
- reports/ - reports/
reports: reports:
junit: junit.xml junit: junit.xml
pages:
stage: deploy
dependencies:
- testing
script:
- mv coverage/ public/
artifacts:
paths:
- public
expire_in: 30 days
only:
- develop