.gitlab-ci.yml 758 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
test_browser-functional:
  stage: test_functional
21 22 23 24 25
  script:
    - make -C browser
    - source /etc/profile.d/rvm.sh
    - rvm use 2.1.1
    - make headless_browser
26 27 28 29
  artifacts:
    paths:
    - browser/

30 31 32
deploy:
  stage: deploy
  script:
33 34
    - 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/
35 36
  environment:
    name: $CI_BUILD_REF_NAME
Mikaël Salson's avatar
Mikaël Salson committed
37
    url: http://$CI_BUILD_REF_SLUG.ci.vidjil.org/?data=analysis-example.vidjil