commit 897303d6e652eb0ab5e9d04978e7362937098fe8 Author: Iain R. Learmonth irl@fsfe.org Date: Mon Jul 15 18:48:58 2019 +0100
Adds GitLab CI configuration to run tests --- .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..0b52726 --- /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 python-nose + - 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
tor-commits@lists.torproject.org