From 616d777f439fdf36304bf0acea8b515d0e12717a Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 12 May 2015 00:19:27 +0300 Subject: [PATCH] Fixed travis builds --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a600b9cf..8b8e2df3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -165,12 +165,12 @@ install: # Build examples - cd example - - if [ "$BUILD_TYPE" == "Release" ]; then make CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; fi - - if [ "$BUILD_TYPE" == "Debug" ]; then make debug CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; fi + - if [ "$BUILD_TYPE" == "Release" ]; then make CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; export BIN=example; fi + - if [ "$BUILD_TYPE" == "Debug" ]; then make debug CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; export BIN=example-debug; fi script: - - ./example - - valgrind --trace-children=yes --leak-check=full ./example + - ./"${BIN}" + - valgrind --trace-children=yes --leak-check=full ./"${BIN}" notifications: email: false