]> git.sesse.net Git - stockfish/blobdiff - .travis.yml
Use posix_memalign instead of aligned_alloc
[stockfish] / .travis.yml
index ea5bda1d2bb15e915642ad191f00ef30f8d55385..e2b42e6d5ed37d3849357e0404dad2933d765250 100644 (file)
@@ -1,5 +1,4 @@
 language: cpp
-sudo: required
 dist: xenial
 
 matrix:
@@ -55,7 +54,7 @@ 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
-  - make clean && make -j2 ARCH=x86-64 build && ../tests/signature.sh $benchref
+
   #
   # Check perft and reproducible search
   - ../tests/perft.sh
@@ -63,7 +62,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
   #