Submit code coverage information to Coveralls
This commit is contained in:
parent
d56868e820
commit
14969ec2ea
1 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,8 @@ before_install:
|
|||
- sudo add-apt-repository -y ppa:vslavik/poedit
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq g++-4.8
|
||||
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
|
||||
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 --slave /usr/bin/gcov gcov /usr/bin/gcov-4.8
|
||||
- sudo pip install cpp-coveralls
|
||||
install:
|
||||
- sudo apt-get install -y -qq libasound2-dev libfftw3-dev libhunspell-dev yasm libfribidi-dev libass-dev libffms2-dev libwxgtk3.0-dev libicu-dev luarocks
|
||||
- sudo luarocks install busted > /dev/null
|
||||
|
@ -23,9 +24,12 @@ install:
|
|||
script:
|
||||
- export CPATH=$(pwd)/vendor/boost
|
||||
- export LD_LIBRARY_PATH=$(pwd)/vendor/boost/stage/lib:$LD_LIBRARY_PATH
|
||||
- export CPPFLAGS="-fprofile-arcs -ftest-coverage"
|
||||
- export LIBS="-lgcov"
|
||||
- autoreconf -if
|
||||
- ./configure BOOST_LDFLAGS="-L$(pwd)/vendor/boost/stage/lib" || cat config.log
|
||||
- make -j3 all test
|
||||
- coveralls --exclude vendor --exclude tests
|
||||
notifications:
|
||||
email:
|
||||
- on_success: change
|
||||
|
|
Loading…
Reference in a new issue