forked from xelabs/tokudb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (31 loc) · 1.29 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
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','dh-autoreconf','libcrypto++-dev', 'libssl-dev', 'libaio-dev', 'libncurses5-dev', 'bison' ]
env: MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
# 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
before_script:
- rm -rf CMakeFiles/ cmake_install.cmake CMakeCache.txt
script:
- $CXX --version
- cmake --version
- git submodule update
- git submodule init
- cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_UNIT_TESTS=OFF -DBUILD_TESTING=OFF -DWITH_EMBEDDED_SERVER=OFF -DWITHOUT_ROCKSDB_STORAGE_ENGINE=1 -DWITH_TOKUDB_STORAGE_ENGINE=1 -DTOKUDB_VERSION=7.5.6 -DWITH_BOOST=extra/boost/boost_1_59_0.tar.gz
- make -j16
notifications:
email: