aboutsummaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorDamien Mathieu <42@dmathieu.com>2014-02-03 13:37:17 +0100
committerDamien Mathieu <42@dmathieu.com>2014-02-03 13:37:17 +0100
commit574cbfde364ed091b0db8075be6e5f9058823bec (patch)
tree4307b00860c343efefca57a7f3a417606e550c78 /script
parentremove tests.test (diff)
downloadsleepy-574cbfde364ed091b0db8075be6e5f9058823bec.tar.gz
sleepy-574cbfde364ed091b0db8075be6e5f9058823bec.tar.bz2
sleepy-574cbfde364ed091b0db8075be6e5f9058823bec.zip
setup travis for continuous integration
Diffstat (limited to 'script')
-rwxr-xr-xscript/build4
-rwxr-xr-xscript/test3
2 files changed, 7 insertions, 0 deletions
diff --git a/script/build b/script/build
new file mode 100755
index 0000000..980a1a2
--- /dev/null
+++ b/script/build
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+go get -d -v ./...
+go build -v ./...
diff --git a/script/test b/script/test
new file mode 100755
index 0000000..ff2d632
--- /dev/null
+++ b/script/test
@@ -0,0 +1,3 @@
+script/build
+go fmt ./...
+go test -v ./...
bgstack15