.travis.yml 1.1 KB
Newer Older
1 2
language: cpp
compiler:
B
Behdad Esfahbod 已提交
3
  - clang
4
  - gcc
B
Behdad Esfahbod 已提交
5 6
env:
  global:
7 8 9 10
    - CPPFLAGS=""
    - CFLAGS="-Werror --coverage"
    - CXXFLAGS="-Werror --coverage"
    - LDFLAGS="--coverage"
B
Behdad Esfahbod 已提交
11
before_install:
A
Anthony Carrico 已提交
12 13 14 15 16
  - sudo apt-get install pkg-config ragel gtk-doc-tools # for autogen.sh
  - sudo apt-get install libfreetype6-dev # for font functions
  - sudo apt-get install libglib2.0-dev # for font functions / tests / utils
  - sudo apt-get install libcairo2-dev # for utils
  - sudo apt-get install libicu-dev # for extra unicode functions
B
Behdad Esfahbod 已提交
17
  - sudo apt-get install libgraphite2-dev # for extra shapers
18
  - sudo pip install cpp-coveralls # for coveralls.io code coverage tracking
B
Behdad Esfahbod 已提交
19 20 21 22 23
install:
  - true
before_script:
  - true
script:
24
  - NOCONFIGURE=1 ./autogen.sh
25 26
  - ./configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
  - make && make check
B
Behdad Esfahbod 已提交
27
after_success:
28 29
  - rm -f src/.libs/NONE.gcov; touch src/NONE # coveralls needs some help
  - if test $CC == gcc; then coveralls; fi # currently only gcc works
B
Behdad Esfahbod 已提交
30 31 32 33
after_failure:
  - true
after_script:
  - true
34 35 36
notifications:
  irc: "irc.freenode.org#harfbuzz"
  email: harfbuzz@lists.freedesktop.org