[tor-commits] [metrics-lib/master] Adds GitLab CI for tests and checks

karsten at torproject.org karsten at torproject.org
Thu Sep 5 13:35:36 UTC 2019


commit 4d8a8ea711828325371b9ec351021b7739ea06ac
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Tue Aug 6 16:08:26 2019 +0100

    Adds GitLab CI for tests and checks
    
    Configuration is held in the .gitlab-ci.yml file.
    
    Fixes: #31645
---
 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..7abea88
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+variables:
+  GIT_STRATEGY: clone
+
+stages:
+ - test
+
+test:
+ stage: test
+ image: debian:buster
+ script:
+  - apt update
+  - apt -y install default-jdk ant ivy git
+  - git submodule init
+  - git submodule update
+  - mkdir lib
+  - ant -lib /usr/share/java resolve
+  - ant test
+  - ant checks



More information about the tor-commits mailing list