From c8e4afd085052f12ec15052dca91f158c5c34c3c Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Tue, 10 Jul 2012 23:17:49 -0700 Subject: [PATCH] Switch to Go environment and add extra sanity check. Add notes on why Go is removed and final sanity check to ensure that it is not present. --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bebd155..f951be2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,18 @@ -language: erlang +# N.B.(matttproud): This will default to using the Ruby workers until +# Go is, if ever, officially supported on Travis. +language: go +# N.B.(matttproud): Travis CI now includes the Go runtime packages made and +# maintained by who-knows-whom. They conflict with the +# hermeticness of the test environment and are thusly +# removed. before_install: - sudo apt-get install bzr >/dev/null 2>&1 - sudo apt-get remove -y --force-yes --purge golang || true - sudo apt-get remove -y --force-yes --purge golang-stable || true - sudo apt-get remove -y --force-yes --purge golang-weekly || true - sudo apt-get remove -y --force-yes --purge golang-tip || true + - [[ ! -x "$(which go)" ]] || (echo "Go is still present: $(which go)" ; exit 1) install: - hg clone -u release https://code.google.com/p/go "${HOME}/go" >/dev/null 2>&1