summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: a875b8f418e1de1de353274dc3b5d9d180338c8e (plain)
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
env:
  global:
   - secure: "ChnqFkoV8/D0UVy7NTrAmjb9EIeahSTk7zUks9NjkJj6qvUZe6vRQHDYfj+5gusf/YKyF+F6ikDGOa+NAKDmu2ynVyx+LsduB8oGr1PRbeefTDS2PkBF3b3muh+KmT9Y2/sZKH25WwrfVVSruIr9SH+TJwRNl/ZPPEpH0lhk88VsK16Dxrhvm2npT1il51FVuWTNmuLoE/bVsxWeh0I1Eu2oKur3sUQNO0Vl3dKVKrzISvzWYxeEO8hvsUyOT3wElbfa5lz6ErP+E+pZRGsG0ekmmGVXuAU6EwbASbsqiged03XGq3tQucU+teUiCEuyL4ynE+UoxSfMZcqWvuQEp45ZDSPPNeLeUDEwXyvLX/ptBvd5960xZa3nRjPPA+qBYBgQz+AzErFtRLw2fXpMjZ400vlobOUpNOaleLU1NSkkNLLOIAUpWknD2weguAy0pbPCG67IGbnUCoaF6nJv4/VVQDDvOOgTTIJZwNAMh58mq5BsIscFTHkIpV6aAANsj8QLNsXUDGKCPy6Xd6qsKS0HUm2/pQFp/GUrjfkWKP4yPhjZ/57WibjumAqrLdn/H2IRHXGeQS/4nR0rqLM3k3h4+cUI2P2srywfusuxUTbOWT0nP/v11WoDRjGE8WLkxafdMlB8MDYqMQmO7REIDxpPm5ARg/KWQdXq/63q0Yk="

matrix:
  include:
    - os: linux
      dist: xenial
    - 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
 - echo -n | openssl s_client -connect https://scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-

language: c
compiler:
  - gcc
  - clang
script:
  - mkdir build
  - cd build
  - cmake -DICAL_GLIB=true $EXTRA_BUILD_FLAGS -DCMAKE_BUILD_TYPE=Release ..
  - make
  - make test

dist: xenial
addons:
  coverity_scan:
    project:
      name: libical/libical
      description: "Libical is an Open Source implementation of the iCalendar protocols and protocol data units."
    notification_email: allen.winter@kdab.com
    build_command_prepend: cd build && cmake ..
    build_command: make
    branch_pattern: coverity_scan