From 046da0bcb939fd86f8c4539ecd38e5641b74437d Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 23 Apr 2017 15:44:29 +0100 Subject: [PATCH] back... --- .travis.yml | 5 ++--- before_script.sh | 13 ------------- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 before_script.sh diff --git a/.travis.yml b/.travis.yml index 88708efd..54d17e01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ install: - go get $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true - go get github.com/mholt/caddy/caddyhttp -before_script: - - ./before_script.sh script: - - go build caddy + - sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-hugo\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go + - go build github.com/mholt/caddy/caddy diff --git a/before_script.sh b/before_script.sh deleted file mode 100644 index 8fbd5656..00000000 --- a/before_script.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -e -mkdir $GOPATH/src/caddy -touch $GOPATH/src/caddy/main.go - -cat << 'EOF' >> nada.tx -package main -import "github.com/mholt/caddy/caddy/caddymain" -import "github.com/hacdias/caddy-hugo" -func main() { - caddymain.Run() -} -EOF \ No newline at end of file