forked from p11-glue/p11-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (57 loc) · 2.16 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
matrix:
include:
- os: linux
sudo: required
services: docker
env: SRCDIR=/srcdir BUILDDIR=/builddir
- os: linux
sudo: required
services: docker
env: PROFILE=autotools BUILD_OPTS="--enable-coverage" COVERAGE=yes SRCDIR=/coverage BUILDDIR=/coverage EXTRA_PKGS="lcov python-pip"
- os: linux
sudo: required
services: docker
env: MESON_BUILD_OPTS="-Db_sanitize=address" SRCDIR=/srcdir BUILDDIR=/builddir EXTRA_PKGS="libasan"
- os: linux
sudo: required
services: docker
env: MESON_BUILD_OPTS="-Db_sanitize=undefined" SRCDIR=/srcdir BUILDDIR=/builddir EXTRA_PKGS="libubsan"
- os: linux
sudo: required
services: docker
env: MESON_BUILD_OPTS="" SCAN_BUILD="scan-build --status-bugs" SRCDIR=/srcdir BUILDDIR=/builddir EXTRA_PKGS="clang-analyzer"
- os: linux
sudo: required
services: docker
env: MESON_BUILD_OPTS="--cross-file build/cross_file_mingw64.txt" MESON_TEST_ENV="WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin" MESON_TEST_OPTS="--num-processes 1" SRCDIR=/srcdir BUILDDIR=/builddir EXTRA_PKGS="mingw64-gcc mingw64-libffi mingw64-libtasn1 wine"
- os: linux
sudo: required
services: docker
env: PROFILE=cppcheck SRCDIR=/srcdir BUILDDIR=/builddir EXTRA_PKGS="cppcheck"
- os: osx
language: c
before_install:
- |
if test -e "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/before_install.sh"; then
. "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/before_install.sh"
fi
install:
- |
if test -e "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/install.sh"; then
. "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/install.sh"
fi
script:
- |
if test -e "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/script.sh"; then
. "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/script.sh"
fi
after_failure:
- |
if test -e "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/after_failure.sh"; then
. "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/after_failure.sh"
fi
after_success:
- |
if test -e "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/after_success.sh"; then
. "./.travis/${PROFILE-${TRAVIS_OS_NAME}}/after_success.sh"
fi