mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-09-12 13:16:42 +00:00
26 lines
300 B
YAML
26 lines
300 B
YAML
image: golang:alpine
|
|
|
|
variables:
|
|
GO111MODULE: "on"
|
|
CGO_ENABLED: 0
|
|
|
|
before_script:
|
|
- apk add git
|
|
|
|
stages:
|
|
- test
|
|
|
|
unit_test:
|
|
stage: test
|
|
script:
|
|
- go test ./...
|
|
|
|
integration_test:
|
|
stage: test
|
|
only:
|
|
variables:
|
|
- $BOT_TOKEN
|
|
script:
|
|
- go test -tags integration ./...
|
|
|