.gitlab-ci.yml 1.64 KB
Newer Older
1
before_script:
Bernhard Heinloth's avatar
Bernhard Heinloth committed
2
  - apt-get update -qq && apt-get install -y -qq git pandoc
3
4
  - git submodule sync --recursive
  - git submodule update --init --recursive --remote
Bernhard Heinloth's avatar
Bernhard Heinloth committed
5

6
buildPDF:
Bernhard Heinloth's avatar
Bernhard Heinloth committed
7
8
  image: tianon/latex
  script:
9
    - make demo
Bernhard Heinloth's avatar
Bernhard Heinloth committed
10
11
12
13
  artifacts:
    paths:
      - demo.pdf
      - demo.pdfpc
Bernhard Heinloth's avatar
Bernhard Heinloth committed
14
15
      - example.pdf
      - example.pdfpc
Bernhard Heinloth's avatar
Bernhard Heinloth committed
16
17


18
# Testweise mit den gängen Distributionen bauen um Inkompatibilitäten schnell
Sebastian Endres's avatar
Sebastian Endres committed
19
# erkennen zu können (wird nur im main-Zweig von /sedrubal/masterarbeit/i7neo-demo ausgeführt)
20
21
22
23

# Generische Regel für auf Debian basierende Distributionen
.debianoide:
  only:
Sebastian Endres's avatar
Sebastian Endres committed
24
    - main@sedrubal/masterarbeit/i7neo-demo
25
26
27
  before_script:
    - ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
    - export DEBIAN_FRONTEND=noninteractive
Michael Eischer's avatar
Michael Eischer committed
28
    - sed -i -e 's|http://archive.ubuntu.com/ubuntu |http://ftp.fau.de/ubuntu |' -e 's|http://deb.debian.org/debian |http://ftp.fau.de/debian |' /etc/apt/sources.list
Michael Eischer's avatar
Michael Eischer committed
29
    - apt-get update -qq && apt-get install -y -qq eatmydata && eatmydata apt-get install -y -qq make git texlive-full latexmk pandoc
30
31
32
33
34
35
36
    - git submodule sync --recursive
    - git submodule update --init --recursive --remote
  script:
    - cat /etc/os-release
    - make demo
  artifacts:
    paths:
Bernhard Heinloth's avatar
Bernhard Heinloth committed
37
38
39
40
      - demo.pdf
      - demo.pdfpc
      - example.pdf
      - example.pdfpc
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

# Latest Ubuntu LTS Release
ubuntuLatest:
  extends: .debianoide
  image: ubuntu:latest

# Latest (rolling) Ubuntu Release
ubuntuRolling:
  extends: .debianoide
  image: ubuntu:rolling

debianStable:
  extends: .debianoide
  image: debian:stable

debianTesting:
  extends: .debianoide
  image: debian:testing

debianOldStable:
  extends: .debianoide
  image: debian:oldstable