.travis.yml 622 Bytes
Newer Older
gejun's avatar
gejun committed
1 2
language: cpp

gejun's avatar
gejun committed
3 4
sudo: required

5 6 7 8 9 10 11
compiler:
- clang
- gcc

env:
- PURPOSE=compile
- PURPOSE=unittest
12
- PURPOSE=compile-with-bazel
13 14 15 16

before_install:
- wget --no-clobber https://github.com/bazelbuild/bazel/releases/download/0.8.1/bazel_0.8.1-linux-x86_64.deb
- sudo dpkg -i bazel_0.8.1-linux-x86_64.deb
17

gejun's avatar
gejun committed
18
install:
19
- sudo apt-get install -qq realpath libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev libgoogle-perftools-dev
20
- sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo env "PATH=$PATH" cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
gejun's avatar
gejun committed
21 22

script:
23
- sh build_in_travis_ci.sh