X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=.travis.yml;h=1d56a23e90421b1eb4093fd39166a6d9ed76502d;hp=ea5bda1d2bb15e915642ad191f00ef30f8d55385;hb=93349d0dbd22f063b39e6815c02835a4748fffbc;hpb=2089c414dad595430432632cfe606b2cd6d701ab diff --git a/.travis.yml b/.travis.yml index ea5bda1d..1d56a23e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,9 @@ script: - make clean && make -j2 ARCH=x86-64 optimize=no debug=yes build && ../tests/signature.sh $benchref - make clean && make -j2 ARCH=x86-32 optimize=no debug=yes build && ../tests/signature.sh $benchref - make clean && make -j2 ARCH=x86-32 build && ../tests/signature.sh $benchref + + # Verify bench number is ONE_PLY independent by doubling its value + - sed -i'.bak' 's/.*\(ONE_PLY = [0-9]*\),.*/\1 * 2,/g' types.h - make clean && make -j2 ARCH=x86-64 build && ../tests/signature.sh $benchref # # Check perft and reproducible search @@ -63,7 +66,7 @@ script: # # Valgrind # - - export CXXFLAGS=-O1 + - export CXXFLAGS="-O1 -fno-inline" - if [ -x "$(command -v valgrind )" ]; then make clean && make -j2 ARCH=x86-64 debug=yes optimize=no build > /dev/null && ../tests/instrumented.sh --valgrind; fi - if [ -x "$(command -v valgrind )" ]; then ../tests/instrumented.sh --valgrind-thread; fi #