2021-04-03 12:11:47 +00:00
|
|
|
---
|
|
|
|
|
2021-12-06 16:25:19 +00:00
|
|
|
image: "reporunner/archlinux"
|
2021-04-03 12:11:47 +00:00
|
|
|
checkout_dir: /go/src/github.com/Luzifer/twitch-bot
|
|
|
|
|
|
|
|
commands:
|
2021-12-06 16:25:19 +00:00
|
|
|
# Dependencies for downloading libraries
|
|
|
|
- echo -e "[luzifer]\nSigLevel = Optional TrustAll\nServer = https://s3-eu-west-1.amazonaws.com/arch-luzifer-io/repo/\$arch" >>/etc/pacman.conf
|
|
|
|
- pacman -Syy --noconfirm awk curl git go golangci-lint-bin make nodejs-lts-fermium npm tar unzip which zip
|
2021-04-03 12:11:47 +00:00
|
|
|
- make lint test publish
|
|
|
|
|
|
|
|
environment:
|
|
|
|
DRAFT: "false"
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
2021-12-06 16:25:19 +00:00
|
|
|
GOPATH: /go
|
2021-04-03 12:11:47 +00:00
|
|
|
MOD_MODE: readonly
|
2021-12-25 00:12:34 +00:00
|
|
|
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/go/bin
|