front end version 2 de framadate, un gestionnaire de sondage
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

65 lines
881 B

image: weboaks/node-karma-protractor-chrome
stages:
- pages
- test
# - e2e
cache:
paths:
- node_modules/
pages:
stage: pages
script:
- yarn install --pure-lockfile
- yarn build
- mv dist/framadate/ public/
artifacts:
paths:
- public
expire_in: '2 hours'
only:
- develop
test:
stage: test
script:
- npm i
- pkill Xvfb
- npm run test:ci
artifacts:
paths:
- coverage/
cache:
policy: pull
test-build:
stage: test
script:
- yarn install --pure-lockfile
- npx ng build --prod
only:
- master
cache:
policy: pull
#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