This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
forked from percona/PerconaFT
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
44 lines (36 loc) · 1.28 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
language: cpp
# sources list: https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json,
# packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
matrix:
include:
- os: linux
compiler: clang
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test', 'kalakris-cmake', 'llvm-toolchain-trusty-5.0']
packages: [ 'g++-5', 'libstdc++-5-dev', 'cmake', 'valgrind']
env: MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- os: linux
compiler: clang
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test', 'kalakris-cmake', 'llvm-toolchain-trusty-8.0']
packages: [ 'g++-8', 'libstdc++-8-dev', 'cmake', 'valgrind']
env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
# container-based builds
sudo: true
before_install:
- env
- eval "${MATRIX_EVAL}"
- export SRC_DIR="`pwd`"
- echo never | sudo tee /sys/kernel/mm/transparent_hugepage/enabled > /dev/null
script:
- $CXX --version
- cmake --version
- mkdir build && cd build
- cmake -D CMAKE_BUILD_TYPE=Release ../
- make -j16
- ctest -j16 --no-compress-output -T Test -E '(helgrind|stress|drd|test_insert_unique|try-leak-reachable|dump-env|checkpoint_fairness).*'
notifications:
email: