From 5a56c4790977771fc49c82039929156de3e129bc Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Sun, 20 May 2012 00:00:39 +0200 Subject: [PATCH] Incorporate the Travis-CI (continuous integration) configuration such that test status will be reported. --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c259d13 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: erlang + +before_install: + - sudo apt-get install bzr >/dev/null 2>&1 + +install: + - hg clone -u release https://code.google.com/p/go "${HOME}/go" >/dev/null 2>&1 + - cd "${HOME}/go/src" && ./make.bash >/dev/null 2>&1 + - mkdir -p "${HOME}/src" || true + - mkdir -p "${HOME}/bin" || true + - mkdir -p "${HOME}/pkg" || true + - export GOPATH="${HOME}" + - export PATH=${PATH}:${HOME}/go/bin + - ln -s "${HOME}/builds/matttproud/golang_instrumentation" "${HOME}/src/golang_instrumentation" + - go get -v launchpad.net/gocheck >/dev/null 2>&1 + - go get -v github.com/matttproud/golang_instrumentation + +script: + - go build -a -v github.com/matttproud/golang_instrumentation/... + - go test -v github.com/matttproud/golang_instrumentation/...