-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
32 lines (28 loc) · 977 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
image: stefankaestle/simulator
# Dependencies
# ------------------------------
#
# net-tools for netstat, required in scripts/test_service.sh
# pip for installing vulture (dead code checks)
# pyflakes simple checker for Python files
#
# The rest is needed as described in the README.
before_script:
- "apt-get update; apt-get install -y python-networkx python-pygraphviz libgv-python python-numpy python-pygraph python-matplotlib wget net-tools"
- "(cd /usr/lib/python2.7/dist-packages; ln -s libgv_python27.x86_64-linux-gnu.so _gv.so)"
- "apt-get install -y texlive-full imagemagick"
- "apt-get install -y pyflakes python-pip"
- "pip install -U vulture"
stages:
- test
basetest:
stage: test
artifacts:
paths:
- "simulator-server.log"
- "visu/visu_gruyere_adaptivetree_atomic_broadcast.png"
script:
- scripts/test_service.sh
- scripts/test_visu.sh
- scripts/test_standalone.sh
- scripts/sanity.sh