[travis] First try to hookup coveralls.io code coverage tracking

This commit is contained in:
Behdad Esfahbod 2014-10-01 16:38:47 -04:00
parent 1b387571e4
commit dfe8078e5b
1 changed files with 4 additions and 2 deletions

View File

@ -9,16 +9,18 @@ before_install:
- sudo apt-get install libcairo2-dev # for utils - sudo apt-get install libcairo2-dev # for utils
- sudo apt-get install libicu-dev # for extra unicode functions - sudo apt-get install libicu-dev # for extra unicode functions
- sudo apt-get install libgraphite2-dev # for extra shapers - sudo apt-get install libgraphite2-dev # for extra shapers
- sudo pip install cpp-coveralls # for coveralls.io code coverage tracking
install: install:
- true - true
before_script: before_script:
- true - true
script: script:
- ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 - NOCONFIGURE=1 ./autogen.sh
- ./configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 CPPFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS=-lgcov
- make CPPFLAGS=-Werror - make CPPFLAGS=-Werror
- make check CPPFLAGS=-Werror - make check CPPFLAGS=-Werror
after_success: after_success:
- true - coveralls
after_failure: after_failure:
- true - true
after_script: after_script: