-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
41 lines (35 loc) · 1.04 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
39
40
41
sudo: required
dist: trusty
language: cpp
cache: apt
addons:
apt:
packages: ['valgrind']
matrix:
include:
- compiler: gcc
env: RUN_BENCHMARKS=1 BENCHMARKS_NUM_PASSES=10 BUILD_TYPE=RelWithDebInfo
- compiler: gcc
env: COVERITY_BUILD=1 BUILD_TYPE=RelWithDebInfo
- compiler: gcc
env: UPLOAD_COVERAGE=1 TEST_COVERAGE=1 BUILD_TYPE=Debug CMAKE_FLAGS="-DJOINT_COVERAGE=TRUE"
- compiler: gcc
env: USE_VALGRIND=1 BUILD_TYPE=Debug
- compiler: clang
addons:
apt:
packages: ['clang-3.5', 'valgrind']
env: USE_VALGRIND=1 COMPILER=clang-3.5 COMPILERXX=clang++-3.5 BUILD_TYPE=Debug
before_install:
- sudo apt-get install -yq pep8 pylint python-coverage python-dev python-pip python3-pip swig
- sudo pip install jinja2 pylint-quotes pyparsing python-magic
- sudo CC="gcc" CXX="g++" pip3 install mypy
install:
- sudo apt-get install lcov
- gem install coveralls-lcov
- sudo pip install codecov
- ./ci/do.sh prepare
script:
- ./ci/do.sh run
after_success:
- ./ci/do.sh finalize