forked from canonical/dqlite
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (36 loc) · 1.62 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
42
43
dist: bionic
arch: amd64
language: c
env:
global:
- secure: "GTi+zMeM0hbOagdiby24Zx1jG0mhagr5xDVa4PdEf0WDww9R0r5Ek42dUTDDN12krNR3PQBhMUDVh+9OibcEpiU4fAiaOAHiWGeTtPdkloA1arW6YBCOzcLjzurQ84pygtMAmlKvRN8xr48wMXBz29TL8divJzXhSvc5QI6jBcFZuCQ/hmjlDVmduVmf0p2NyGhy7Y10IiIhIIo/WwPgL4vEKFCTDHMxwywIr+1E2E8LV+Fw+S5WK/5ssKy8f3E3dpnNpm7UU2eGIjU0GBoAZsd32C+iTof642omds5HNSm/57MAupq+6NYCloYQ8wn6WtKpHLx9OdiAidKoUTvAtW1FnY3rfyQlDKcM4qBjcTeLTQ0yziFD91z4AaDfpfhOPwz0ZpNLQ8ZzYQs9TtHRAQHYOMq8wDQjZMF/AnkO5bUGxZVInrmK6usETKbO4mzU1ot2DQ7jmHbreyQqgAQXo4VjuZ/SS0zLPYioUoMO5p5WhhrsSmnnmJBaf6lEUXhPIyAgAMJHOdB+g4LbgQ1eIyg/Kix/eAz/ZNM67RvBdoTAmccJSziwx0kOpVETSbn1STqNhF0AFWy7JsOF+DwKGf7OeAATzlwX7fiswDy43oPzcYivhOB77/dVpdzkRn0JDp1+P+TdHD+zHBEdwVt9433442YlEi7kKzEoRcVtalM="
addons:
apt:
sources:
- sourceline: 'ppa:dqlite/master'
packages:
- lcov
- libsqlite3-dev
- libuv1-dev
- libraft-dev
coverity_scan:
build_script_url: https://dl.stgraber.org/coverity_travis.sh
project:
name: "canonical/dqlite"
description: "Embeddable and replicated SQL database"
# Where email notification of build analysis results will be sent
notification_email: [email protected]
build_command_prepend: "autoreconf -i && ./configure"
build_command: "make"
branch_pattern: master
compiler:
- gcc
script:
- autoreconf -i
- ./configure --enable-debug --enable-code-coverage --enable-sanitize
- CFLAGS=-O0
- make
- make check || (cat ./test-suite.log && false)
- if [ $TRAVIS_COMPILER = gcc ]; then make code-coverage-capture; fi
after_success:
- bash <(curl -s https://codecov.io/bash) -g "./test*"