1 Star 0 Fork 0

Mouri_Naruto / nedmalloc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 2.62 KB
一键复制 编辑 原始数据 按行查看 历史
language: cpp
compiler:
- gcc
- clang
notifications:
email:
# recipients:
# - one@example.com
# - other@example.com
on_success: change # [always|never|change] # default: change
on_failure: change # [always|never|change] # default: always
env:
global:
- secure: "LG1scRCvFAHZ2rWGLL5ShXTegKNF3+4YaT8BAZalpMWjwBbYnIbAYgFYOwCk\naUy8e5zpC8FElIctGY/9ni1wcGwQkP97YaMvcai1r0IBjbVBi8tqvqekc/5Q\n2pz8IlJXDz/WzTEVb9w7xIDfRCZq8Xiw9LpENvVwfpbrQfFJLLk="
matrix:
- _="Static analysis" VALGRIND=0 CCFLAGS="--analyze" UNIT_TESTS=0 DEBUG=0 GCCVER="" GCOV=0
- _="Build test" VALGRIND=0 UNIT_TESTS=0 DEBUG=0 GCCVER="" GCOV=0
# - _="Unit/functional tests" VALGRIND=0 UNIT_TESTS="" DEBUG=0 GCCVER="" GCOV=0
# - _="GCC 4.8 + Unit/functional tests coverage" VALGRIND=0 CCFLAGS="--usegcov --usegcc=g++-4.8" UNIT_TESTS="" DEBUG=1 GCCVER="4.8" GCOV=1
# - _="Memory error and leak tests" VALGRIND=memcheck UNIT_TESTS="" DEBUG=2 GCCVER="" GCOV=0
# - _="Race detection tests" VALGRIND=0 CCFLAGS="--usethreadsanitize --usegcc=g++-4.8" UNIT_TESTS="" DEBUG=2 GCCVER="4.8" TSAN_OPTIONS="suppressions=unittests/tsan.supp" GCOV=0
matrix:
exclude:
- compiler: gcc
env: _="Static analysis" VALGRIND=0 CCFLAGS="--analyze" UNIT_TESTS=0 DEBUG=0 GCCVER="" GCOV=0
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- if [ $CXX = "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
- sudo apt-get update -qq
- if [ $CXX = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev clang-3.3; fi
- if [ $GCCVER != "" ]; then sudo apt-get install -qq g++-$GCCVER; fi
- if [ $VALGRIND != "0" ]; then sudo apt-get install -qq valgrind; fi
- git submodule update --init
script:
- if [ $DEBUG -eq 0 ]; then PREFIXPATH="x64/Release"; DEBUGBUILD=""; fi
- if [ $DEBUG -eq 1 ]; then PREFIXPATH="x64/Debug"; DEBUGBUILD="--debugbuild"; fi
- if [ $DEBUG -eq 2 ]; then PREFIXPATH="x64/Debug"; DEBUGBUILD="--optdebugbuild"; fi
- if [ $CC = "clang" ]; then scons -k --useclang=clang++-3.3 $DEBUGBUILD $CCFLAGS; else scons -k $DEBUGBUILD $CCFLAGS; fi
- if [ $VALGRIND = "memcheck" ]; then PREFIXTEST="valgrind --tool=memcheck --suppressions=unittests/memcheck.supp --track-origins=yes --track-fds=yes --leak-check=full --show-reachable=yes --error-exitcode=1"; fi
- if [ $VALGRIND = "drd" ]; then PREFIXTEST="valgrind --tool=drd --suppressions=unittests/drd.supp --error-exitcode=1"; fi
- if [ $VALGRIND = "0" ]; then PREFIXTEST=""; fi
- if [ "$UNIT_TESTS" != "0" ]; then $PREFIXTEST $PREFIXPATH/tests -s $UNIT_TESTS; fi
after_success:
- if [ $GCOV -eq 1 ]; then bash unittests/update_coveralls.sh `pwd`; fi
1
https://gitee.com/Mouri_Naruto/nedmalloc.git
git@gitee.com:Mouri_Naruto/nedmalloc.git
Mouri_Naruto
nedmalloc
nedmalloc
master

搜索帮助