From 77fb9cfbecde6d5090d7742c557c157d1525fa1e Mon Sep 17 00:00:00 2001 From: Stewart Henderson Date: Fri, 14 Feb 2020 11:11:04 -0600 Subject: [PATCH] Travis CI --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..c01def9e3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +# [Travis CI Documentation](https://docs.travis-ci.com/) +language: cpp +compiler: clang +dist: xenial +cache: + directories: + - $HOME/.bzrepos + - $HOME/.cache/bazel +env: + global: + - BAZEL_VERSION=2.1.0 +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++ + +before_install: + - wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel_${BAZEL_VERSION}-linux-x86_64.deb + - sudo dpkg -i bazel_${BAZEL_VERSION}-linux-x86_64.deb + +script: + - bazel build //... + - bazel test //...