2015-11-24 09:46:35 +01:00
|
|
|
# Build Configuration for Travis
|
2016-01-01 21:36:19 +01:00
|
|
|
dist: trusty
|
2017-12-06 20:08:20 +01:00
|
|
|
|
2013-03-05 07:37:44 +01:00
|
|
|
language: cpp
|
2017-12-06 20:08:20 +01:00
|
|
|
|
2014-10-01 23:20:31 +02:00
|
|
|
env:
|
|
|
|
global:
|
2014-10-02 00:07:27 +02:00
|
|
|
- CPPFLAGS=""
|
2017-12-06 20:08:20 +01:00
|
|
|
- CONFIGURE_OPTS="--with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2"
|
|
|
|
- NOCONFIGURE=1
|
2018-02-12 08:57:00 +01:00
|
|
|
# COVERITY_SCAN_TOKEN
|
2018-11-20 07:38:23 +01:00
|
|
|
- secure: "k6l/18dpsoPAf0E5RQWCr+rgjbHns0H3k0WzSYovCoVg0B7RVlV8x8OjyEOBzEvXI4aaHRdH6MHCPDFnX4fa7ysImlT6LxxIG8YhDdLkJWyS0hHbcJiGxko9AhAGzOZcDl8fZi13d697wagMqqXpjN5v2T/AQm8t4X9z2otJosY="
|
2017-12-06 20:08:20 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
script:
|
2019-03-14 20:41:25 +01:00
|
|
|
# Remove the following three lines when Travis updates its distro
|
|
|
|
- export PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig"
|
|
|
|
- export LD_LIBRARY_PATH="$HOME/.local/lib"
|
|
|
|
- bash .ci/build-freetype.sh
|
2018-01-22 10:38:35 +01:00
|
|
|
|
2017-12-06 20:08:20 +01:00
|
|
|
- ./autogen.sh
|
2018-03-03 20:33:13 +01:00
|
|
|
- ./configure $CONFIGURE_OPTS --enable-gtk-doc --enable-code-coverage
|
2017-12-06 20:08:20 +01:00
|
|
|
- make
|
2018-02-15 10:25:24 +01:00
|
|
|
- make check || .ci/fail.sh
|
2018-03-03 20:56:11 +01:00
|
|
|
- rm -rf freetype-2.9
|
2017-12-06 20:08:20 +01:00
|
|
|
after_success:
|
2018-11-20 07:06:50 +01:00
|
|
|
- bash .ci/run-coveralls.sh # coveralls.io code coverage
|
|
|
|
- bash <(curl -s https://codecov.io/bash) # codecov.io code coverage
|
2017-12-06 20:08:20 +01:00
|
|
|
- bash .ci/deploy-docs.sh
|
2018-02-12 08:57:00 +01:00
|
|
|
- bash .ci/trigger-coverity.sh
|
2017-12-06 20:08:20 +01:00
|
|
|
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
script:
|
2019-03-14 20:41:25 +01:00
|
|
|
# Remove the following three lines when Travis updates its distro
|
|
|
|
- export PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig"
|
|
|
|
- export LD_LIBRARY_PATH="$HOME/.local/lib"
|
|
|
|
- bash .ci/build-freetype.sh
|
2018-01-22 10:38:35 +01:00
|
|
|
|
2017-12-06 20:08:20 +01:00
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure $CONFIGURE_OPTS
|
|
|
|
- make
|
2018-02-15 10:25:24 +01:00
|
|
|
- make check || .ci/fail.sh
|
2017-12-06 20:08:20 +01:00
|
|
|
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
|
|
|
install:
|
2019-03-13 12:21:12 +01:00
|
|
|
- brew link --force icu4c
|
2017-12-06 20:08:20 +01:00
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure $CONFIGURE_OPTS --with-coretext
|
|
|
|
- make
|
2018-02-15 10:25:24 +01:00
|
|
|
- make check || .ci/fail.sh
|
2017-12-06 20:08:20 +01:00
|
|
|
|
2013-03-05 07:37:44 +01:00
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#harfbuzz"
|
2018-02-14 22:45:39 +01:00
|
|
|
email: harfbuzz-bots-chatter@googlegroups.com
|
2015-06-13 02:37:41 +02:00
|
|
|
|
2019-03-14 20:41:25 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- /home/travis/.local
|
|
|
|
|
2015-06-13 02:37:41 +02:00
|
|
|
addons:
|
2015-10-19 20:11:01 +02:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- pkg-config # for autogen.sh
|
|
|
|
- ragel
|
2018-03-03 20:39:25 +01:00
|
|
|
- lcov
|
2015-10-19 20:11:01 +02:00
|
|
|
- gtk-doc-tools
|
|
|
|
- libfreetype6-dev # for font function
|
|
|
|
- libglib2.0-dev # for font functions / tests / utils
|
|
|
|
- libcairo2-dev # for utils
|
|
|
|
- libicu-dev # for extra unicode functions
|
|
|
|
- libgraphite2-dev # for extra shapers
|
2018-01-22 10:38:35 +01:00
|
|
|
#- libgirepository1.0-dev # for gobject-introspection
|
2019-03-13 12:21:12 +01:00
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- cairo
|
|
|
|
- freetype
|
|
|
|
- glib
|
|
|
|
- graphite2
|
|
|
|
- icu4c
|
|
|
|
#- gobject-introspection
|
2018-02-12 08:57:00 +01:00
|
|
|
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
2018-02-28 13:13:23 +01:00
|
|
|
name: behdad/harfbuzz
|
2018-02-12 08:57:00 +01:00
|
|
|
version: 1.0
|
|
|
|
description: HarfBuzz OpenType text shaping engine
|
2018-02-14 22:45:39 +01:00
|
|
|
notification_email: harfbuzz-bots-chatter@googlegroups.com
|
2018-02-12 08:57:00 +01:00
|
|
|
build_command_prepend: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
|
|
|
|
build_command: make
|
2018-02-12 09:26:32 +01:00
|
|
|
branch_pattern: coverity_scan
|