framadate-responsive/.gitlab-ci.yml
2020-04-16 12:34:36 +02:00

40 lines
474 B
YAML

image: weboaks/node-karma-protractor-chrome
stages:
- test
- e2e
cache:
paths:
- node_modules/
test:
stage: test
script:
- npm i
- pkill Xvfb
- npm run test
artifacts:
paths:
- coverage/
e2e:
stage: e2e
script:
- npm i
- pkill Xvfb
- npm run e2e
pages:
stage: .post
dependencies:
- test
script:
- mv coverage/ public/
artifacts:
paths:
- public
expire_in: 30 days
only:
- master