-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
69 lines (64 loc) · 2.3 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
sudo: required
dist: trusty
language: cpp
cache:
directories:
- $HOME/travisCacheDir
env:
global:
- secure: "hcYXA9Ku8X0zpXM8raH/rSucH+GO58Jo+VLm2IrxkyZxOcH8uepPAgs7iwcZ4gtnYo93w7x2NQE/A9z3u3uxKG70+A2AhYGk2OlE3mnV9TMvZaleb2JIEXaaEsVAl+xeMdidJG2/gXm5+5SqZLnHpkzG3PRGGhf5K4AdlnKKL/bbw1NnHvRAvI9P2WgWT5qDCMkiKV8oTUBk0+Wy/yxxlIhTscUXKHKynxwigXteJV03B/gv3EWw/7hWV7sMasb4JOOZQ4qLH4TZ2NHGCNa65x1j6aBN1+lfLsaLtfAw1Z99N2KvhmEYidmxtvxaPWhQOQiHEMlK3JLeLhBPkIhsX+ITl+bdRt0Mv0c1zRXGAnsc7l62xMRmcpONNIibYRX0b7l8LYQTjy3uGzoClswYwPCRYhoAoD27us+IJ6ia2xXfNv9S7eROm0jtCL6JAV6vrNdi/qmTkeny3w7P64iGrF0hCc+DyvuogFfEYRf8C+xuCzRNb3RzjaDL4I4QMy9MyjATqxplefFN2i8+9Qf2wUN8G9z7BZj2w85JaA03fTNOiMe8YcRvTvs+ZNYx9Kvp9a0hR/18ad7SzxEQL8amiAQfxIlOV5eViP5NhSYfH9am/tZUzuAra9/FBHcunSwkeoSEBaxz72Mv1DnSNqDLt+7Rh1K1CeKoQRxn2ZRnyE4="
addons:
coverity_scan:
project:
name: "dariadb"
description: "Build submitted via Travis CI"
build_command_prepend: "export CC=gcc-6 && export CXX=g++-6 && cov-configure --comptype gcc --compiler `which gcc-6` && cov-configure --comptype g++ --compiler `which g++-6` && cmake -DCMAKE_BUILD_TYPE=Release ."
build_command: "make -j3"
branch_pattern: coverity
notification_email: lysevi@gmail.com
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libboost-dev
- libboost-filesystem-dev
- libboost-program-options-dev
- libasio-dev
- libboost-log-dev
- libboost-regex-dev
- libboost-date-time-dev
- cmake
- g++-6
- gcc-6
- cpp-6
- libjemalloc-dev
- lcov
before_install:
- pip install --user cpp-coveralls
- cd ${TRAVIS_BUILD_DIR}
- wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.13.orig.tar.gz
- tar xf lcov_1.13.orig.tar.gz
- cd lcov-1.13/
- sudo make install
- cd ..
- lcov --version
- g++ --version
- cmake --version
- git submodule init
- git submodule update
matrix:
include:
- os: linux
compiler: gcc-6
env: GCOV=TRUE CLANG=FALSE
- os: linux
compiler: gcc-6
env: SANITIZER=MSAN GCOV=FALSE CLANG=FALSE
- os: linux
compiler: gcc-6
env: SANITIZER=ASAN_UBSAN GCOV=FALSE CLANG=FALSE
- os: linux
compiler: gcc-6
env: IS_RELEASE=TRUE CLANG=FALSE
script:
- bash .travis/build.sh