sudo: required
dist: trusty

language: python
python:
  - "3.6"

before_install:
  - sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3
  - wget 'https://github.com/bazelbuild/bazel/releases/download/0.27.0/bazel-0.27.0-installer-linux-x86_64.sh'
  - chmod +x bazel-0.27.0-installer-linux-x86_64.sh
  - ./bazel-0.27.0-installer-linux-x86_64.sh --user
  - rm -f bazel-0.27.0-installer-linux-x86_64.sh

addons:
  apt:
    update: true

script:
  - ~/bin/bazel test //analyzer/src/...

sudo: required
dist: xenial

language: python
python:
  - "3.6"

before_install:
  - sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3
  - wget 'https://github.com/bazelbuild/bazel/releases/download/0.27.0/bazel-0.27.0-installer-linux-x86_64.sh'
  - chmod +x bazel-0.27.0-installer-linux-x86_64.sh
  - ./bazel-0.27.0-installer-linux-x86_64.sh --user
  - rm -f bazel-0.27.0-installer-linux-x86_64.sh

addons:
  apt:
    update: true

script:
  - ~/bin/bazel test //analyzer/src/...

Use Xenial Travis CI build environment instead of Trusty, since Bazel v0.27.0 drops support for Trusty.
Use Xenial Travis CI build environment instead of Trusty, since Bazel
v0.27.0 drops support for Trusty.
