blob: ab2824f43713bd880c2646d1b6b068b35c4f6496 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
language: cpp
sudo: true
dist: trusty
matrix:
include:
- os: osx
osx_image: xcode9
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- cmake
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- cmake
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- cmake
env:
- MATRIX_EVAL="CC=gcc-4.8 && CXX=g++-4.8"
before_install:
- eval "${MATRIX_EVAL}"
- ./ci/setup_${TRAVIS_OS_NAME}_environment.sh
script:
- mkdir -p build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON ..
- make
- make test
- cd ..
- bazel build //...
- bazel test //...
|