diff --git a/.travis.yml b/.travis.yml index 9db23dd..4dcfce9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: - 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) + - test ! -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