fix travis

This commit is contained in:
Thomas Fussell 2015-11-20 23:40:54 -05:00
parent 5ba2aa995c
commit ddfe7279df

View File

@ -37,9 +37,9 @@ script:
- mkdir build - mkdir build
- cd build - cd build
- cmake -G "Unix Makefiles" -D SHARED=1 -D BUILD_TESTS=1 -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_CXX_FLAGS="-lstdc++" ../cmake - cmake -G "Unix Makefiles" -D SHARED=1 -D BUILD_TESTS=1 -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_CXX_FLAGS="-lstdc++" ../cmake
- make VERBOSE=1 - make
- ../bin/xlnt.test - ../bin/xlnt.test
- valgrind --error-exitcode=1 --leak-check=full ../bin/xlnt.test - valgrind --error-exitcode=1 --leak-check=full --suppressions=../.xlnt.supp --show-possibly-lost=no ../bin/xlnt.test
after_success: after_success:
- if [ "$COMPILER" = "g++-4.9" ]; then cd .. && mkdir build && cd build ; fi - if [ "$COMPILER" = "g++-4.9" ]; then cd .. && mkdir build && cd build ; fi