Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iain Learmonth
onionoo
Commits
5173fe1d
Commit
5173fe1d
authored
Sep 05, 2019
by
Iain R. Learmonth
Browse files
Adds GitLab CI for tests and checks
Configuration is held in the .gitlab-ci.yml file. Fixes: #31400
parent
301841c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
5173fe1d
variables
:
GIT_STRATEGY
:
clone
METRICS_LIB_VERSION
:
"
2.6.2"
JAVA_TOOL_OPTIONS
:
"
-Dfile.encoding=UTF-8"
stages
:
-
test
test
:
stage
:
test
image
:
debian:buster
script
:
-
apt update
-
apt -y install default-jdk ant ivy git curl
-
git submodule init
-
git submodule update
-
mkdir lib
-
mkdir tmp
-
pushd tmp
-
curl https://dist.torproject.org/metrics-lib/$METRICS_LIB_VERSION/metrics-lib-$METRICS_LIB_VERSION.tar.gz | tar xzf -
-
popd
-
mv tmp/metrics-lib-$METRICS_LIB_VERSION/generated/dist/metrics-lib-$METRICS_LIB_VERSION-thin.jar lib
-
ant -lib /usr/share/java resolve
-
ant test
-
ant checks
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment