forked from libical/libical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (36 loc) · 1.18 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
env:
global:
- secure: "NlWO/NTPlOU6cowOMuPOvjAprXVwIjmpHHf9CoMR71E2c/eBFFKIHj10kXuyFwz2KihHAIExmo9OlGtGniNWobvIrVrabO3dsOSb6UGbPAQkzQiyQLKsDNQAZx3nMuWEKBtMsVRee6rd7/2uGTY4WB5Ot3VhrUYcN1FoRgQQ9gk="
matrix:
include:
- os: linux
dist: trusty
- os: osx
env:
- PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig # needed to find homebrew's libxml2 an libffi on osx
- XML_CATALOG_FILES=/usr/local/etc/xml/catalog # homebrew installed libxml2 catalog
- EXTRA_BUILD_FLAGS="-DENABLE_GTK_DOC=false" # Disable Gtk-Doc on OSX
before_install: ./scripts/setup-travis.sh
language: c
compiler:
- gcc
- clang
script:
- mkdir build
- cd build
- cmake -DICAL_GLIB=true $EXTRA_BUILD_FLAGS -DCMAKE_BUILD_TYPE=Release ..
- make
- make test
addons:
apt:
packages:
- cmake
- cmake-data
coverity_scan:
project:
name: libical/libical
description: "Libical is an Open Source implementation of the iCalendar protocols and protocol data units."
notification_email: [email protected]
build_command_prepend: cd build && cmake ..
build_command: make
branch_pattern: coverity_scan