-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
65 lines (60 loc) · 1.38 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: cpp
common_sources: &all_sources
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-7
- llvm-toolchain-xenial-6
matrix:
include:
- os: linux
compiler: gcc
dist: xenial
addons:
apt:
sources: *all_sources
packages:
- g++-7
- python3.5
- python3-pip
- python3-setuptools
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: linux
compiler: clang
dist: xenial
addons:
apt:
sources: *all_sources
packages:
- clang-7
- libstdc++-7-dev
- python3.5
- python3-pip
- python3-setuptools
env:
- MATRIX_EVAL="CC=clang-7 && CXX=clang++-7"
- os: linux
compiler: clang
dist: xenial
addons:
apt:
sources: *all_sources
packages:
- clang-6.0
- g++-7
- python3.5
- python3-pip
- python3-setuptools
env:
- MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
before_install:
- eval "${MATRIX_EVAL}"
install:
- pip3 install --user meson
- pip3 install --upgrade --user ninja
script:
- mkdir build
- meson . build
- cd build
- ninja
- ninja test
- ninja benchmark