-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (63 loc) · 1.35 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
66
67
68
69
dist: xenial
language: python
python: 3.6
sudo: required
matrix:
include:
##############
# GCC
##############
- os: linux
compiler: gcc
env: GCC_VERSION=9
- CC=gcc-9
- CXX=g++-9
- CXX_STANDARD=17
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages: ['g++-9', 'ninja-build']
##############
# CLANG
##############
- os: linux
compiler: clang
env: CLANG_VERSION=7
- CC=clang-7
- CXX=clang++-7
- CXX_STANDARD=17
addons:
apt:
sources:
- llvm-toolchain-xenial
- llvm-toolchain-trusty-7
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages: ['clang-7', 'libc++-7-dev', 'libc++abi-7-dev', 'ninja-build']
##############
# OSX / APPLECLANG (Python download failing)
##############
#- os: osx
# osx_image: xcode10.1
# env:
# - CXX=clang
# - OSX=1
# - CXX_STANDARD=17
before_install:
- echo "Before install"
- |
git submodule init
git submodule update
- |
if [ "${CLANG_VERSION}" == "7" ]; then
export CXXFLAGS="-stdlib=libc++"
fi
install:
- mkdir -p build
- pip install meson
script:
- which $CXX
- $CXX --version
- meson build
- cd build
- ninja