forked from grpc-ecosystem/grpc-httpjson-transcoding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (31 loc) · 820 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- realpath
- wget
language: cpp
jdk:
- oraclejdk8
env:
- BAZEL_VERSION=0.19.2
cache:
directories:
- $HOME/bazel/install
- $HOME/bazel/outbase
- $HOME/clang
before_install:
- mkdir -p ${HOME}/bazel/install
- cd ${HOME}/bazel/install
- wget --no-clobber "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh"
- chmod +x bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
- sudo ./bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
- cd ${TRAVIS_BUILD_DIR}
script:
- script/check-style
- CC=/usr/bin/gcc-4.9 CXX=/usr/bin/g++-4.9 bazel --output_base=${HOME}/bazel/outbase test //...