X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=.travis.yml;h=8586921a887527f70fae0a0f63373e6476831afa;hp=c42badd4897fce2a362a6f0c3023299db82277d8;hb=b61759e907e508d436b7c0b7ff8ab866454f7ca6;hpb=4d511512d2a74d60917bc1a749c3b35eb143118b diff --git a/.travis.yml b/.travis.yml index c42badd4..8586921a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,10 +50,11 @@ script: - echo "Reference bench:" $benchref # # Verify bench number against various builds - - make clean && make -j2 ARCH=x86-64 optimize=no debug=yes build > /dev/null && ../tests/signature.sh $benchref - - make clean && make -j2 ARCH=x86-32 optimize=no debug=yes build > /dev/null && ../tests/signature.sh $benchref - - make clean && make -j2 ARCH=x86-32 build > /dev/null && ../tests/signature.sh $benchref - - make clean && make -j2 ARCH=x86-64 build > /dev/null && ../tests/signature.sh $benchref + - export CXXFLAGS=-Werror + - 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 + - make clean && make -j2 ARCH=x86-64 build && ../tests/signature.sh $benchref # # Check perft and reproducible search - ../tests/perft.sh @@ -63,6 +64,7 @@ script: # - export CXXFLAGS=-O1 - 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 # # Sanitizer #