.gitlab-ci.yml 833 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1 2 3 4 5 6 7 8
image: blang/latex

building-latex-master:
  stage: build
  script:
    - apt-get update --yes
    - apt-get install imagemagick --yes
    - apt-get install wget --yes
Florent Chehab's avatar
Florent Chehab committed
9 10
    - bash build.sh get_assets
    - bash build.sh make
Florent Chehab's avatar
Florent Chehab committed
11 12 13 14 15 16 17 18 19 20 21 22 23
  artifacts:
    paths:
      - lettre-UTC-ex.pdf
      - latex-lettre-UTC.zip
      - lettre-ex-0.png
      - lettre-ex-1.png
      
    expire_in: 2 year
  only:
    - master
  tags:
    - docker

24

Florent Chehab's avatar
Florent Chehab committed
25
building-latex-other-branch:
26
  stage: build
Florent Chehab's avatar
Florent Chehab committed
27
  script:
Florent Chehab's avatar
Florent Chehab committed
28 29 30
    - apt-get update --yes
    - apt-get install imagemagick --yes
    - apt-get install wget --yes
Florent Chehab's avatar
Florent Chehab committed
31 32
    - bash build.sh get_assets
    - bash build.sh make
Florent Chehab's avatar
Florent Chehab committed
33 34
  artifacts:
    paths:
Florent Chehab's avatar
Florent Chehab committed
35 36 37 38 39
      - lettre-UTC-ex.pdf
      - latex-lettre-UTC.zip
      - lettre-ex-0.png
      - lettre-ex-1.png
      
40
    expire_in: 2 week
Florent Chehab's avatar
Florent Chehab committed
41 42 43 44
  except:
    - master
  tags:
    - docker