.gitlab-ci.yml 677 Bytes
Newer Older
1 2 3 4 5 6 7


before_script:
  - make data
  - make germline

stages:
8
  - test_unit
9
  - test_functional
10
  - deploy
11 12

test_browser_unit:
13
  stage: test_unit
14
  script: make unit_browser
15 16 17
  artifacts:
    paths:
    - browser/
18

19 20 21 22 23 24 25
test_browser-functional:
  stage: test_functional
  script: make functional_browser
  artifacts:
    paths:
    - browser/

26 27 28
deploy:
  stage: deploy
  script:
29 30
    - rsync -av --delete browser $DEPLOY_SERVER:$DEPLOY_SERVER_PATH$CI_BUILD_REF_SLUG
    - scp doc/analysis-example.vidjil $DEPLOY_SERVER:$DEPLOY_SERVER_PATH$CI_BUILD_REF_SLUG/browser/
31 32
  environment:
    name: $CI_BUILD_REF_NAME
Mikaël Salson's avatar
Mikaël Salson committed
33
    url: http://$CI_BUILD_REF_SLUG.ci.vidjil.org/?data=analysis-example.vidjil