-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy path.travis.yml
45 lines (38 loc) · 1.84 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
# Travis CI integration
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c
# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
sudo: false
# Test build with both GCC and Clang (LLVM)
compiler:
- gcc
- clang
# The secure: declaration is the encrypted COVERITY_SCAN_TOKEN, created
# using the "travis encrypt" command using the project repo's public key
env:
global:
- secure: "H/4mO/azvVd+MMFWRC8h6RYFbqCdbLvM8EUNvNakjy8ozJqlk8Mi/wLOPT7pfhuiEJcNoo3s7vs/5jVy4TC5+MQRTtAJQQlXbddT5h+UBw5TRV6XNbKXXGPAZzfABKr2UUj/1sKdVw8r0sqWgnoAlu01h1Q66DsZBxX5n7XrS33riNZSgzRVJNED1OaXFQQ5PjdPvuqGahp6kZC4x5g/9GkgtAO0YXKyg6k9OQwS2Xzr01t/9btDO9A0br2a1nr1cmn3UL3n1EV8sC6ptXU2ZpEHOIuVw2wZo5PV4Es8YLFutjU7qIbcusxFvthcO6wRWchrzz1ss9eggcdgG5gq0S0xITxMbY5n1vAxRbe4qE0wAx3MgQLDlFcRlFY1Bzk1nQTjsM2iwEN8KSaRcn8calkBVlFLSnNivbfCzPBpDwB+MvUe6q0afSOK4EDR2JOzp7LfEc0SdqcbqIMiJCEGprBzubxNkmIwHF+fTrKK32SnzaN4rv7BplcbrJiRMcw7QbK8BJlS8Xi0MjOrH08CbnlVj4UCfvTT/wXPvm3vrgh5OLLNuGNSjxcfI40hUl/KIaTlvjTgIX6YPaev71Xml2yuo4fGtOOc84xWfDbe9dVnHwItvOLVVCVokMLvUV257PYKZBU23SOv+CrNdwckui6vKujCg60Bnz/lYHxXc7E="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
addons:
apt:
packages:
- tree
- libconfuse-dev
coverity_scan:
project:
name: "troglobit/mini-snmpd"
description: "A minimal SNMP agent implementation"
notification_email: troglobit@gmail.com
build_command_prepend: "./autogen.sh && ./configure --prefix=/"
build_command: "make clean all"
branch_pattern: dev
# Override default build command, we do not have `make test` yet
script:
- ./autogen.sh
- ./configure --prefix=/
- make clean
- make -j5 all
- DESTDIR=/tmp/ make install-strip
- tree /tmp
- make distcheck