diff --git a/.travis.yml b/.travis.yml index bdd4dc8..dcb2743 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: