Commit 65b0772b authored by Sietse Ringers's avatar Sietse Ringers

wip

parent 935444b0
Pipeline #39879 passed with stages
in 3 minutes and 57 seconds
image: privacybydesign/golang_sql:latest image: privacybydesign/golang_sql:latest
#cache: cache:
# key: $CI_COMMIT_REF_SLUG key: $CI_COMMIT_REF_SLUG
# paths: paths:
# - vendor/ - vendor/go/pkg/mod/
stages: stages:
- test - test
- build - build
variables: variables:
GOFLAGS: -mod=readonly
GOPATH: ${CI_PROJECT_DIR}/vendor/go
PACKAGE_NAME: github.com/privacybydesign/irmago PACKAGE_NAME: github.com/privacybydesign/irmago
PLATFORMS: linux/amd64 darwin/amd64 windows/amd64 linux/arm linux/arm64 PLATFORMS: linux/amd64 darwin/amd64 windows/amd64 linux/arm linux/arm64
...@@ -19,9 +21,6 @@ before_script: ...@@ -19,9 +21,6 @@ before_script:
- mysql -e "create database test" - mysql -e "create database test"
- mysql -e "grant all privileges on *.* to 'testuser'@'localhost' identified by 'testpassword'" - mysql -e "grant all privileges on *.* to 'testuser'@'localhost' identified by 'testpassword'"
- mysql -e "flush privileges" - mysql -e "flush privileges"
- mkdir -p "$GOPATH/src/$(dirname "$PACKAGE_NAME")"
- ln -s "$CI_PROJECT_DIR" "$GOPATH/src/$PACKAGE_NAME"
- cd "$GOPATH/src/$PACKAGE_NAME"
unit_tests: unit_tests:
stage: test stage: test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment