mirror of
https://github.com/torproject/metrics-lib.git
synced 2024-11-23 01:09:47 +00:00
Adds GitLab CI for tests and checks
Configuration is held in the .gitlab-ci.yml file. Fixes: #31645
This commit is contained in:
parent
114f548674
commit
4d8a8ea711
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user