mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix travis
This commit is contained in:
parent
311844388f
commit
b79f9b5f3b
10
.travis.yml
10
.travis.yml
|
@ -39,14 +39,16 @@ script:
|
|||
- ../bin/xlnt.test
|
||||
|
||||
after_success:
|
||||
- if [ "$COMPILER" = "g++-4.9" ]; then alias gcov=gcov-4.9 ; fi
|
||||
- if [ "$COMPILER" = "g++-4.9" ]; then update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90 ; fi
|
||||
- if [ "$COMPILER" = "g++-4.9" ]; then update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90 ; fi
|
||||
- if [ "$COMPILER" = "g++-4.9" ]; then update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.9 90 ; 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 cmake -G "Unix Makefiles" -D DEBUG=1 -D COVERAGE=1 -D SHARED=0 -D STATIC=1 -D BUILD_TESTS=1 ../cmake ; fi
|
||||
- if [ "$COMPILER" = "g++-4.9" ]; then 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
|
||||
- if [ "$COMPILER" = "g++-4.9" ]; then coveralls --exclude bin --exclude build --exclude cmake --exclude docs --exclude include --exclude lib --exclude samples --include build/CMakeFiles/xlnt.static --exclude source --exclude tests --exclude third-party --gcov-options '\-lp' ; fi
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
|
Loading…
Reference in New Issue
Block a user