Only do coverage on gcc/debug

This commit is contained in:
miloyip 2015-04-15 22:55:35 +08:00
parent 0571a211bd
commit 0edf27fa0c

View File

@ -21,7 +21,7 @@ before_install:
- sudo apt-get install -qq cmake valgrind - sudo apt-get install -qq cmake valgrind
- sudo apt-get --no-install-recommends install doxygen # Don't install LaTeX stuffs - sudo apt-get --no-install-recommends install doxygen # Don't install LaTeX stuffs
- if [ "$ARCH" = "x86" ]; then sudo apt-get install -qq g++-multilib libc6-dbg:i386; fi - if [ "$ARCH" = "x86" ]; then sudo apt-get install -qq g++-multilib libc6-dbg:i386; fi
- if [ "$CC" = "gcc" ]; then sudo pip install cpp-coveralls; export GCOV_FLAGS='--coverage'; fi - if [ "$CC" = "gcc" ] && [ "CONF" = "debug" ]; then sudo pip install cpp-coveralls; export GCOV_FLAGS='--coverage'; fi
install: true install: true