Update CI config

This commit is contained in:
Gabriel Arazas 2020-11-07 21:36:32 +08:00
parent 587244d185
commit 8b57c33678

View File

@ -1,18 +1,20 @@
dist: bionic
language: generic
dist: focal
language: go
go:
- 1.13
before_install:
- sudo apt-get update
- sudo apt-get install python3 git
- sudo apt-get install ruby jq wget graphviz
- sudo snap install go
- sudo apt-get install git jq wget graphviz
- wget "https://github.com/gohugoio/hugo/releases/download/v${HUGO_RELEASE}/hugo_extended_${HUGO_RELEASE}_Linux-64bit.deb"
- sudo dpkg -i *.deb
- sudo gem install asciidoctor asciidoctor-diagram
- git clone https://git.sr.ht/~sircmpwn/openring && cd openring && go build
- go version
script:
- make build
- git clone https://git.sr.ht/~sircmpwn/openring && cd openring && go build && cd ../
- chmod +x ./bin/openring-create && ./bin/openring-create
- hugo
env:
global: