diff --git a/.travis.yml b/.travis.yml index 0075a3de..efa818a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,6 @@ before_install: - chmod 755 ./run-linux-tests - ./update-deps-linux - ./dev-update-travis - - go build -o Gosora - - ./Gosora -build-templates install: true script: ./run-linux-tests addons: diff --git a/tmpl_client/stub.go b/tmpl_client/stub.go index fd5e3c4c..7c0dc0ed 100644 --- a/tmpl_client/stub.go +++ b/tmpl_client/stub.go @@ -1,3 +1,5 @@ package tmpl -var GetFrag func(name string) [][]byte +var GetFrag = func(name string) [][]byte { + return nil +} diff --git a/tmpl_stub.go b/tmpl_stub.go index 8e31bef9..449cea1c 100644 --- a/tmpl_stub.go +++ b/tmpl_stub.go @@ -1,3 +1,5 @@ package main -var GetFrag func(name string) [][]byte +var GetFrag = func(name string) [][]byte { + return nil +}