.gitlab-ci.yml 395 Bytes
Newer Older
Laurent Heirendt's avatar
Laurent Heirendt committed
1
stages:
Laurent Heirendt's avatar
Laurent Heirendt committed
2
3
  - convert
  - deploy
Laurent Heirendt's avatar
Laurent Heirendt committed
4

Laurent Heirendt's avatar
Laurent Heirendt committed
5
convert:
Laurent Heirendt's avatar
Laurent Heirendt committed
6
  image: python
Laurent Heirendt's avatar
Laurent Heirendt committed
7
  stage: convert
Laurent Heirendt's avatar
Laurent Heirendt committed
8
  rules:
Laurent Heirendt's avatar
Laurent Heirendt committed
9
    - if: $CI_COMMIT_BRANCH == "build-ci"
Laurent Heirendt's avatar
Laurent Heirendt committed
10
11
12
13
14
    - if: $CI_COMMIT_BRANCH == "master"
  before_script:
    - pip install casq
  script:
    - python .ci/convertCASQ.py
Laurent Heirendt's avatar
Laurent Heirendt committed
15
16
17
18
19
20
21

commit:
  stage: deploy
  rules:
    - if: $CI_COMMIT_BRANCH == "build-ci"
    - if: $CI_COMMIT_BRANCH == "master"
  script:
Laurent Heirendt's avatar
Laurent Heirendt committed
22
    - sh .ci/deploy.sh