File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed
Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change 1+ # trusty beta image has jdk8, gcc4.8.4
12dist : trusty
23sudo : required
3- language : node_js
4+ # xcode8 has jdk8
5+ osx_image : xcode8
6+ # Not technically required but suppresses 'Ruby' in Job status message.
7+ language : java
8+
9+ os :
10+ - linux
11+ - osx
412
513env :
6- - V=0.3.2rc3 URL=https://storage.googleapis.com/bazel/0.3.2/rc3/bazel-0.3.2rc3-installer-linux-x86_64.sh FLAGS=''
7- - V=0.3.2rc2 URL=https://storage.googleapis.com/bazel/0.3.2/rc2/bazel-0.3.2rc2-installer-linux-x86_64.sh FLAGS=''
8- - V=0.3.1 URL=https://github.com/bazelbuild/bazel/releases/download/0.3.1/bazel-0.3.1-installer-linux-x86_64.sh FLAGS=''
14+ - V=HEAD
15+ - V=0.3.2
16+ - V=0.3.1
917
1018before_install :
19+ - OS=linux
20+ - ARCH=x86_64
21+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then OS=darwin; fi
22+ - GH_BASE="https://github.com/bazelbuild/bazel/releases/download/$V"
23+ - GH_ARTIFACT="bazel-$V-installer-$OS-$ARCH.sh"
24+ - CI_BASE="http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=$OS-$ARCH/lastSuccessfulBuild/artifact/output/ci"
25+ - CI_ARTIFACT="bazel--installer.sh"
26+ - URL="$GH_BASE/$GH_ARTIFACT"
27+ - if [[ "$V" == "HEAD" && "$OS" == "linux" ]]; then CI_ARTIFACT="`wget -qO- $CI_BASE | grep -oP 'bazel-.*?-installer.sh' | uniq`"; fi
28+ - if [[ "$V" == "HEAD" && "$OS" == "osx" ]]; then CI_ARTIFACT="`wget -qO- $CI_BASE | pcregrep -o 'bazel-.*?-installer.sh' | uniq`"; fi
29+ - if [[ "$V" == "HEAD" ]]; then URL="$CI_BASE/$CI_ARTIFACT"; fi
30+ - echo $URL
1131 - wget -O install.sh $URL
1232 - chmod +x install.sh
1333 - ./install.sh --user
You can’t perform that action at this time.
0 commit comments