From 57a1ca82f3f5dd61c18a84bec76d34f6d4edd3c6 Mon Sep 17 00:00:00 2001 From: Afshin Darian Date: Sun, 2 Oct 2016 21:14:40 +0100 Subject: [PATCH] Move drone.io script into source control. --- scripts/drone.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/drone.sh diff --git a/scripts/drone.sh b/scripts/drone.sh new file mode 100644 index 0000000..52b2717 --- /dev/null +++ b/scripts/drone.sh @@ -0,0 +1,17 @@ +VERSION="4.1.5" +wget --quiet https://github.com/zeromq/zeromq4-1/releases/download/v$VERSION/zeromq-$VERSION.tar.gz +tar xzf zeromq-$VERSION.tar.gz +rm zeromq-$VERSION.tar.gz +cd zeromq-$VERSION +./autogen.sh +./configure +make check +sudo make install +sudo ldconfig +cd /home/ubuntu/src/github.com/ursiform/sleuth +rm -rf zeromq-$VERSION +go get +go build +go get github.com/axw/gocov/gocov +go get github.com/mattn/goveralls +go test -race && goveralls -service drone.io -repotoken $COVERALLS_TOKEN