Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (30 sloc) 856 Bytes
language: go
dist: bionic
before_install:
- openssl aes-256-cbc -K $encrypted_d2f4738fa532_key -iv $encrypted_d2f4738fa532_iv -in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
install:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
- gpg --batch --passphrase $GPG_PASSPHRASE --pinentry-mode loopback --import gpgsecret.asc
- echo -e "5\ny\n" | gpg --command-fd 0 --expert --edit-key 8BCDD592F2DE32D4 trust;
- git reset --hard
env:
- GO111MODULE=on
before_script:
script:
- golangci-lint run
- go test -v -race ./...
- go run build.go oauth.go
before_deploy:
- go get github.com/itchio/gothub@master
- git reset --hard
deploy:
provider: script
script: go run release.go
skip_cleanup: true
on:
tags: true
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
You can’t perform that action at this time.