-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
37 lines (32 loc) · 1.01 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
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright Antony Polukhin 2014-2018.
sudo: false
os: linux
env:
matrix:
#- CXXFLAGS="-std=c++11 -fsanitize=address,undefined" LDFLAGS="-fuse-ld=gold" CXX=g++-6
- CXXFLAGS="-std=c++1y --coverage" CXX=g++-7
- CXXFLAGS="-std=c++14" CXX=g++-6
- CXXFLAGS="-std=c++11 --coverage" CXX=clang++
- CXXFLAGS="-std=c++11"
#- CXXFLAGS="-std=c++11 -stdlib=libc++" LINK_FLAGS="-stdlib=libc++" TOOLSET=clang
#- CXXFLAGS="-std=c++1y -stdlib=libc++" LINK_FLAGS="-stdlib=libc++" TOOLSET=clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- g++-7
- clang
- libc++-dev
- cmake
script:
- cmake -DCMAKE_BUILD_TYPE=Release
- VERBOSE=1 make -j2
- ./cpp_fast
after_success:
- bash <(curl -s https://codecov.io/bash) -f '!*benchmark*'