1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-01 03:03:48 +00:00
arikawa/.gitlab-ci.yml

26 lines
300 B
YAML
Raw Normal View History

2020-01-16 04:43:42 +00:00
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:
2020-01-16 04:49:21 +00:00
- $BOT_TOKEN
2020-01-16 04:43:42 +00:00
script:
- go test -tags integration ./...