os:
  - linux
language: cpp
compiler:
  - clang
jdk:
  - oraclejdk8
go:
  - 1.4
before_install:
  - wget http://dl.google.com/android/android-sdk_r23-linux.tgz
  - tar xvf android-sdk_r23-linux.tgz
  - export PATH=${PATH}:${PWD}/android-sdk-linux/tools:${PWD}/android-sdk-linux/platform-tools
  - ./download_bazel.sh ${PWD}
  - export PATH=${PATH}:${PWD}/bazel/output
  - echo "sdk.dir=${PWD}/android-sdk-linux" > local.properties
  - echo "y" | android update sdk --no-ui --filter platform-tools,tools
script:
  - jdk_switcher use oraclejdk8
  - bazel test //shipshape/...

os:
  - linux
language: cpp
compiler:
  - clang
jdk:
  - oraclejdk8
go:
  - 1.4
before_install:
  - jdk_switcher use oraclejdk8
  - wget http://dl.google.com/android/android-sdk_r23-linux.tgz
  - tar xvf android-sdk_r23-linux.tgz
  - export PATH=${PATH}:${PWD}/android-sdk-linux/tools:${PWD}/android-sdk-linux/platform-tools
  - ./download_bazel.sh ${PWD}
  - export PATH=${PATH}:${PWD}/bazel/output
  - echo "sdk.dir=${PWD}/android-sdk-linux" > local.properties
  - echo "y" | android update sdk --no-ui --filter platform-tools,tools
script:
  - bazel test //shipshape/...

Reorder jdk_switcher to make Bazel happy
Reorder jdk_switcher to make Bazel happy
