commit 07945f2c4056218ee0fe45fcb8d4291d5431876b Author: Iain R. Learmonth irl@fsfe.org Date: Mon Jul 15 18:48:58 2019 +0100
nonsense --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..869b845 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +variables: + GIT_STRATEGY: clone + +stages: + - test + +test: + stage: test + image: debian:buster + script: + - apt -y update + - apt -y install git cmake make build-essential gcc libigraph0-dev libglib2.0-dev python-dev libxml2-dev python-lxml python-networkx python-scipy python-matplotlib python-numpy libevent-dev libssl-dev python-stem tor + - git clone https://github.com/shadow/tgen.git + - mkdir -p tgen/build + - pushd tgen/build + - cmake .. + - make + - ln -s `pwd`/tgen /usr/bin/ + - popd + - python setup.py build + - python setup.py install + - ./run_tests.sh