language: java

jdk:
  - oraclejdk11
  - openjdk11

dist: bionic

os:
  - linux

before_install:
  - echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt testing jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
  - curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
  - sudo apt-get -qq update
  - sudo apt-get install -y bazel

script:
  - bazel test -k --test_output=errors --curses=no //...

notifications:
  email: false

language: java

jdk:
  - oraclejdk8

dist: bionic

os:
  - linux

before_install:
  - echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt testing jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
  - curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
  - sudo apt-get -qq update
  - sudo apt-get install -y bazel

script:
  - bazel test -k --test_output=errors --curses=no //...

notifications:
  email: false

Use only jdk8, code is not ready for jdk11
Use only jdk8, code is not ready for jdk11
