forked from a2o/snoopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
112 lines (93 loc) · 4.01 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
language: c
compiler:
- gcc
# clang is disabled because we already have x4 build matrix
# - clang
branches:
only:
- master
- stable
- coverity_scan
### Package installation was moved to addons.apt.packages setting, to utilize new container infrastructure
#
#before_install:
# - sudo apt-get update -qq
# - sudo apt-get install -qq socat
sudo: false
before_script:
- "./bootstrap.sh"
env:
global:
#
# Coverity integration
#
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
#
- secure: "WSIKaNG2czmsMv0DqNKiYBuaFp/ChmSEpMmMnn9T0vqQmxPVnFnKg0UaPhXJj9THp24vqJmPoEdQPSjH5GsbbW1YQKgEDOyKfAFs1Uv1yBYnObvlcH0LJQWQjY5ZjnTEpCbP5q4iWj7Cbz/4kTmEZto8mbLyEUBkwt3LHXqHVJh0Tteg0wW2lvuyj/QYqEIm7uzOB5v3gsqpGTeKT7DKV99IuMpoIEAO66+8HzRgvJgQT3XnF4RVUTDYzOF2gUSnS1aLsDzVXbFMGlDjDtSmGEZyUrfQkfX4/Jt0fZMRMiYdbK2+cfHbHSOQQjL0WwnLn3175ZDtkpQynwoGL8KafLli1N7Xh3NP8e+N9r1FV2mwA0gIyLCo3/fSF7ya7BToWJjyIfO/vk4QUoLOR0dbmK7zrVcCJD//DZBTlWc1ZcTDlP8VvmScLqvAndo/03UAdIOo3KjaS7LZsEHr144KGYMEQbYVfGqCOLcL6eRwbi42PgJ1drbINCcb3mfZHhJFrbdBkHTSK3yD1yHb3SbHuCp2ThbVAVi1oAh9FpsN5UEo/guAAR+R7mNGhZFEBYqhaQItdyxegKxPeheNNIxGszyt8cShPL3GqX5sq2/MxTn8SFuXjVzBZoy2MboBg82uk4G8pntOdW6NDJNeugtAYwVdJECKKcucS9B2VciTEpU="
# Build concurency
#
- MAKE_J: "16"
# Signal to snoopy-install.sh that it is running inside Travis-CI build
- SNOOPY_TRAVIS_BUILD="true"
matrix:
# Test builds
- SNOOPY_TRAVIS_OPTS="build"
- SNOOPY_TRAVIS_OPTS="build --enable-thread-safety"
- SNOOPY_TRAVIS_OPTS="build --disable-config-file"
- SNOOPY_TRAVIS_OPTS="build --disable-filtering"
- SNOOPY_TRAVIS_OPTS="build --disable-config-file --disable-filtering"
- SNOOPY_TRAVIS_OPTS="build --enable-everything"
- SNOOPY_TRAVIS_OPTS="build --enable-everything --disable-thread-safety"
- SNOOPY_TRAVIS_OPTS="build --disable-everything"
- SNOOPY_TRAVIS_OPTS="build --disable-everything --enable-config-file"
- SNOOPY_TRAVIS_OPTS="build --disable-everything --enable-filtering"
- SNOOPY_TRAVIS_OPTS="build --disable-everything --enable-filtering --enable-datasource-uid"
- SNOOPY_TRAVIS_OPTS="build --disable-everything --enable-thread-safety"
- SNOOPY_TRAVIS_OPTS="build --disable-everything --enable-config-file --enable-filtering --enable-thread-safety"
# Test snoopy-install.sh script
- SNOOPY_TRAVIS_OPTS="install-script-local release-latest-stable"
- SNOOPY_TRAVIS_OPTS="install-script-local local"
- SNOOPY_TRAVIS_OPTS="install-script-local download-only"
- SNOOPY_TRAVIS_OPTS="install-script-remote release-latest-stable"
- SNOOPY_TRAVIS_OPTS="install-script-remote git-master"
- SNOOPY_TRAVIS_OPTS="install-script-remote download-only"
# Random build configuration flags
- SNOOPY_TRAVIS_OPTS="build-random 01"
- SNOOPY_TRAVIS_OPTS="build-random 02"
- SNOOPY_TRAVIS_OPTS="build-random 03"
- SNOOPY_TRAVIS_OPTS="build-random 04"
- SNOOPY_TRAVIS_OPTS="build-random 05"
- SNOOPY_TRAVIS_OPTS="build-random 06"
- SNOOPY_TRAVIS_OPTS="build-random 07"
- SNOOPY_TRAVIS_OPTS="build-random 08"
- SNOOPY_TRAVIS_OPTS="build-random 09"
- SNOOPY_TRAVIS_OPTS="build-random 10"
- SNOOPY_TRAVIS_OPTS="build-random 11"
- SNOOPY_TRAVIS_OPTS="build-random 12"
- SNOOPY_TRAVIS_OPTS="build-random 13"
- SNOOPY_TRAVIS_OPTS="build-random 14"
- SNOOPY_TRAVIS_OPTS="build-random 15"
- SNOOPY_TRAVIS_OPTS="build-random 16"
script:
- "./build/travis.sh $SNOOPY_TRAVIS_OPTS"
after_failure:
- "./build/travis-show-debug-output.sh"
addons:
#
# Install packages:
#
apt:
packages:
- socat
#
# Coverity integration
#
coverity_scan:
project:
name: "a2o/snoopy"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "./bootstrap.sh && ./configure && make distclean && ./configure --enable-everything"
build_command: "make -j$MAKE_J"
branch_pattern: coverity_scan