.gitlab-ci.yml 556 Bytes
Newer Older
masala's avatar
masala committed
1
image: "golang:1.13"
masala's avatar
masala committed
2 3

before_script:
masala's avatar
masala committed
4 5
  - mkdir -p /go/src/github.com/katzenpost
  - cp -r /builds/katzenpost/* /go/src/github.com/katzenpost/
masala's avatar
masala committed
6 7 8 9 10
  - cd /go/src/github.com/katzenpost/authority
  - go get -v -t ./...

test-authority:
  script:
masala's avatar
masala committed
11
    - go test -cover -v -race ./internal/...
masala's avatar
masala committed
12 13
    - go test -cover -v -race ./voting/...
    - go test -cover -v -race ./nonvoting/...
masala's avatar
masala committed
14
    - go test -cover -v -race -timeout 0 -ldflags "-X github.com/katzenpost/core/epochtime.WarpedEpoch=true -X github.com/katzenpost/server/internal/pki.WarpedEpoch=true" ./tests/...