-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 954 Bytes
/
.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
dist: trusty
sudo: required
language: cpp
os:
- linux
git:
submodules: false
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get install -y libc++-dev libboost-dev
- sudo apt-get install -y libboost-system-dev libboost-program-options-dev
- sudo apt-get install -y libboost-filesystem-dev libboost-date-time-dev libboost-regex-dev valgrind doxygen
- [[ "${TRAVIS_REPO_SLUG}" == *"prefixdb"* ]] && sudo apt-get install -y libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev
compiler:
- g++
- clang++
branches:
only:
- mambaru
- master
script:
- git submodule sync
- git submodule update --init --force
- mkdir -p build
- pushd build
- cmake .. -DCMAKE_CXX_COMPILER=$TRAVIS_COMPILER -DCMAKE_CXX_STANDARD=11 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DPARANOID_WARNINGS=ON -DNO_MEMCHECK=ON
- cmake --build .
- ctest --output-on-failure
- make clean
- popd