mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-28 01:33:10 +00:00
More CI tweaks
This commit is contained in:
parent
3556e7d7dc
commit
62dfa7c311
|
@ -2,7 +2,7 @@ image: golang:alpine
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GO111MODULE: "on"
|
GO111MODULE: "on"
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: "0"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apk add git
|
- apk add git
|
||||||
|
@ -22,7 +22,7 @@ integration_test:
|
||||||
- $BOT_TOKEN
|
- $BOT_TOKEN
|
||||||
script:
|
script:
|
||||||
# go get first, so it doesn't count towards the timeout.
|
# go get first, so it doesn't count towards the timeout.
|
||||||
- go get
|
- go get ./...
|
||||||
# Timeout test after 120 seconds (2 minutes)
|
# Timeout test after 120 seconds (2 minutes)
|
||||||
- timeout 120 go test -tags integration -v ./...
|
- timeout 120 go test -tags integration -v ./...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue