-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (29 loc) · 875 Bytes
/
.travis.yml
File metadata and controls
36 lines (29 loc) · 875 Bytes
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
os:
- linux
- osx
language: cpp
dist: bionic
osx_image: xcode12.2
compiler:
- clang
- g++
addons:
apt:
packages:
- valgrind
update: true
install:
- mkdir build
- cd build
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make VERBOSE=1 -j
script:
- make test
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -v ./examples/arg ;
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -v ./examples/arg -i 18;
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -v ./examples/commands ;
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -v ./examples/commands add ;
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -v ./examples/commands add -t 10 ;
fi