framadate-responsive/.gitlab-ci.yml

40 lines
474 B
YAML
Raw Normal View History

2020-04-16 12:34:36 +02:00
image: weboaks/node-karma-protractor-chrome
stages:
- test
- e2e
cache:
paths:
- node_modules/
test:
2020-04-16 12:34:36 +02:00
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