forked from google/perf_data_converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (26 loc) · 815 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
language: cpp
dist: xenial
sudo: required
addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8'
key_url: 'https://bazel.build/bazel-release.pub.gpg'
packages:
- bazel
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libelf-dev libssl-dev libcap-dev linux-tools-`uname -r`
- git submodule update --init --recursive
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install g++-5
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
compiler:
- clang
- gcc
script:
- bazel build //src:all //src/quipper:all
- bazel test //src:all //src/quipper:all