mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-17 20:32:48 +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 ./...
|
|
|