summaryrefslogtreecommitdiff
path: root/Build/source/libs/harfbuzz/harfbuzz-src/.travis.yml
blob: 4f989b2e4d61ecbddf96e1e8afb89c96259665a1 (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
40
41
42
43
# Build Configuration for Travis
dist: trusty

language: cpp

matrix:
  include:
    - os: linux
      compiler: gcc
      script:
        # 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

        - ./autogen.sh NOCONFIGURE=1
        - ./configure $CONFIGURE_OPTS --enable-gtk-doc --enable-code-coverage --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
        - make
        - make check || .ci/fail.sh
        - rm -rf freetype-2.9
      after_success:
        - bash .ci/run-coveralls.sh # coveralls.io code coverage

notifications:
  email: harfbuzz-bots-chatter@googlegroups.com

cache:
  directories:
    - /home/travis/.local

addons:
  apt:
    packages:
      - pkg-config # for autogen.sh
      - ragel
      - lcov
      - 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
      #- libgirepository1.0-dev # for gobject-introspection