forked from libconfuse/libconfuse
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (36 loc) · 1.25 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
# 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
# We need at least Ubuntu 14.04 (Trusty), so no more Docker builds for now
sudo: required
dist: trusty
# Test build with both GCC and Clang (LLVM)
compiler:
- gcc
- clang
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "kFrbrFEPt+f2UTSoKymheDJiLOcuXqvCDeV8EqCIsQT7oMpwHxLogJio3BIAUfP9Ykm73roJPKOt5YVv6k8IGDvKuR5XOJDl4gfLM8S1L9shGuQwk8E7nC3/96IoVRnkuqsWseDbHBm/K6jV6TRIVRVyc4Dcbjdb7qBTuVF5VNE="
addons:
apt:
packages:
- autopoint
coverity_scan:
project:
name: "troglobit/libconfuse"
description: "Small configuration file parser library for C"
notification_email: [email protected]
build_command_prepend: "./autogen.sh && ./configure"
build_command: "make check"
branch_pattern: dev
# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
- ./autogen.sh
- ./configure
- make clean
- make check