From 4ad714245cff1c9c612a1097dbcbfb7e73992e53 Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Tue, 10 Jul 2012 22:51:08 -0700 Subject: [PATCH] Revert "Determine whether Go exists in the Travis CI." This reverts commit 7ad00de6650f06ff52a7e3a5a64b61139e26abfe. --- .travis.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index f87c1ce..c259d13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,20 @@ -language: go +language: erlang before_install: - - true + - sudo apt-get install bzr >/dev/null 2>&1 install: - - dpkg -l 'go*' || true - - which go || true - - locate go || true + - 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: - - true + - go build -a -v github.com/matttproud/golang_instrumentation/... + - go test -v github.com/matttproud/golang_instrumentation/...