From 40030d65edcc25f5cfd4e8de50dcc7cdd9741045 Mon Sep 17 00:00:00 2001 From: Jay Conrod Date: Fri, 10 Aug 2018 17:37:26 -0400 Subject: [PATCH] Update minimum version of Bazel for Travis CI to 0.16.0 (#1651) Also, remove logic in .travis.yml for downloading Bazel at HEAD. We're not doing that anymore. --- .travis.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index b7c2580304..17c3d79092 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ os: - osx env: - - V=0.15.0 + - V=0.16.0 before_install: - | @@ -21,23 +21,7 @@ before_install: sysctl kernel.unprivileged_userns_clone=1 OS=linux fi - if [[ "${V}" == "HEAD" ]]; then - # Determine last successful build number. This may change while we are - # downloading, so it's important to determine ahead of time, in case - # we need to resume the download. - CI_BASE="http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/PLATFORM_NAME=${OS}-x86_64/" - CI_INDEX_URL="${CI_BASE}/lastSuccessfulBuild/" - wget -q -O build-index.html "${CI_INDEX_URL}" - CI_BUILD=$(grep '' build-index.html | sed -e 's/^.*#\([0-9]*\).*$/\1/') - - # Determine the artifact name. This is normally, bazel--installer.sh, - # but it may be, for example, bazel-0.5rc2-installer.sh before a release. - CI_ARTIFACT=$(grep -o 'bazel-[^\"-]*-installer.sh' build-index.html | head -n 1) - URL="${CI_BASE}/${CI_BUILD}/artifact/output/ci/${CI_ARTIFACT}" - rm build-index.html - else - URL="https://github.com/bazelbuild/bazel/releases/download/${V}/bazel-${V}-installer-${OS}-x86_64.sh" - fi + URL="https://github.com/bazelbuild/bazel/releases/download/${V}/bazel-${V}-installer-${OS}-x86_64.sh" wget -O install.sh "${URL}" chmod +x install.sh ./install.sh --user