From 311844388ff30447e8d850954bcb478698415efd Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sat, 21 Nov 2015 11:24:48 -0500 Subject: [PATCH] fix travis --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ada4e1e9..5cd6ee7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,11 +39,13 @@ script: - ../bin/xlnt.test after_success: - - if [ "$COMPILER" = "g++-4.9" ]; then g++-4.9 --version ; gcov-4.9 --version ; fi + - if [ "$COMPILER" = "g++-4.9" ]; then alias gcov=gcov-4.9 ; fi - if [ "$COMPILER" = "g++-4.9" ]; then rm -rf ./* ; fi - if [ "$COMPILER" = "g++-4.9" ]; then cmake -G "Unix Makefiles" -D DEBUG=1 -D COVERAGE=1 -D SHARED=0 -D STATIC=1 -D BUILD_TESTS=1 -D CMAKE_CXX_COMPILER=$COMPILER ../cmake ; fi - if [ "$COMPILER" = "g++-4.9" ]; then LDFLAGS="-fprofile-arcs -ftest-coverage" && make VERBOSE=1 ; fi - if [ "$COMPILER" = "g++-4.9" ]; then cd .. && ./bin/xlnt.test ; fi + - if [ "$COMPILER" = "g++-4.9" ]; then find ./ -name "*.gcda" ; fi + - if [ "$COMPILER" = "g++-4.9" ]; then find ./ -name "*.gcno" ; fi - if [ "$COMPILER" = "g++-4.9" ]; then coveralls --exclude bin --exclude build --exclude cmake --exclude docs --exclude include --exclude lib --exclude samples --include source --exclude tests --exclude third-party --gcov-options '\-lp' --gcov 'gcov-4.9' ; fi notifications: