.gitlab-ci.yml 833 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1
2
image: blang/latex

3
building-latex-master:
Florent Chehab's avatar
Florent Chehab committed
4
5
6
7
8
  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
  artifacts:
    paths:
      - lettre-UTC-ex.pdf
      - latex-lettre-UTC.zip
      - lettre-ex-0.png
      - lettre-ex-1.png
      
18
19
20
    expire_in: 2 year
  only:
    - master
Florent Chehab's avatar
Florent Chehab committed
21
22
23
  tags:
    - docker

24
25
26

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