~janbaudisch/janbaudisch.de

5567f8b82f6ff1787391eb5e2cdbf6297f48b951 — Jan Baudisch 1 year, 10 months ago 17a0ce7
ci: update
2 files changed, 3 insertions(+), 5 deletions(-)

M .travis.yml
D .travis/install-zola.sh
M .travis.yml => .travis.yml +3 -1
@@ 1,7 1,9 @@
dist: bionic

language: generic

install:
  - .travis/install-zola.sh
  - bash <(curl https://gist.githubusercontent.com/janbaudisch/555112ffe141bb9a3ac07f14b86a329a/raw/659f3713eec58c1945fb9246ecf1ba571fd6f064/install-zola.sh)

script:
  - zola build

D .travis/install-zola.sh => .travis/install-zola.sh +0 -4
@@ 1,4 0,0 @@
#!/bin/sh
RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/getzola/zola/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/' | cut -c 1-)
curl -L https://github.com/getzola/zola/releases/download/${RELEASE}/zola-${RELEASE}-x86_64-unknown-linux-gnu.tar.gz | gunzip | tar x
sudo mv zola /usr/bin/zola