forked from chmorgan/memorystream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 920 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
language: cpp
env:
global:
# Ubuntu version
- LINUX_DIST=trusty
- DEPS_DIR=${TRAVIS_BUILD_DIR}/deps
# Global build options and C++ flags
- CXX_FLAGS="-Wall -pedantic -Werror -Wno-variadic-macros -Wno-long-long -Wno-shadow"
# Misc
- RUN_TESTS=true
- COVERAGE=false
matrix:
include:
- os: linux
dist: bionic
sudo: true
compiler: gcc
addons:
apt:
packages:
- gcc
- g++
- valgrind
sources:
- ubuntu-toolchain-r-test
script:
############################################################################
# Build main and tests
############################################################################
- mkdir -p build
- cd build
- cmake ${CMAKE_OPTIONS} -DCMAKE_CXX_FLAGS=${CXX_FLAGS} -DCMAKE_BUILD_TYPE=Coverage -DBUILD_TESTS=ON ..
- make
- ctest