Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hans-Christoph Steiner
snowflake
Commits
25b304a9
Commit
25b304a9
authored
May 08, 2018
by
Hans-Christoph Steiner
Browse files
first stab at gitlab CI build
parent
88ea7a50
Pipeline
#21674352
failed with stage
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
25b304a9
image
:
golang:1.10-stretch
cache
:
paths
:
-
.gradle/wrapper
-
.gradle/caches
before_script
:
# Create symbolic links under $GOPATH, this is needed for local build
-
export src=$GOPATH/src
-
mkdir -p $src/git.torproject.org/pluggable-transports
-
mkdir -p $src/gitlab.com/$CI_PROJECT_NAMESPACE
-
ln -s $CI_PROJECT_DIR $src/git.torproject.org/pluggable-transports/snowflake.git
-
ln -s $CI_PROJECT_DIR $src/gitlab.com/$CI_PROJECT_PATH
build
:
script
:
-
apt-get -qy update
-
apt-get -qy install libx11-dev
-
cd $src/gitlab.com/$CI_PROJECT_PATH/client
-
go get ./...
-
go build ./...
-
go vet ./...
-
go test -v -race ./...
after_script
:
# this file changes every time but should not be cached
-
rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
-
rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
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