-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 919 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
40
dist: xenial
sudo: sudo
language: cpp
matrix:
include:
- os: linux
compiler: gcc
env:
- BUILD_TYPE="Debug"
- CMAKE_ARGUMENTS="-DINTERPRETER_COVERAGE:BOOL=TRUE"
- MATRIX_BEFORE_INSTALL="pip install --user cpp-coveralls"
- UPLOAD_COVERAGE="coveralls --root .. --include src/core"
- os: linux
compiler: gcc
env:
- BUILD_TYPE="AddressSanitizer"
- os: linux
compiler: clang
env:
- BUILD_TYPE="AddressSanitizer"
- os: osx
compiler: clang
env:
- BUILD_TYPE="AddressSanitizer"
before_install:
- mkdir build
- cd build
- eval "${MATRIX_BEFORE_INSTALL}"
install:
- cmake .. -DINTERPRETER_TESTS:BOOL=TRUE -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${CMAKE_ARGUMENTS}
- cmake --build .
script:
- LSAN_OPTIONS=verbosity=1:log_threads=1 ./Interpreter-Tests
after_success:
- eval "${UPLOAD_COVERAGE}"