diff options
author | Gabi Melman <gmelman1@gmail.com> | 2015-05-12 00:19:27 +0300 |
---|---|---|
committer | Gabi Melman <gmelman1@gmail.com> | 2015-05-12 00:19:27 +0300 |
commit | 616d777f439fdf36304bf0acea8b515d0e12717a (patch) | |
tree | 71668ac54ed05ca87ba8d655c8a5549c02e7cd6f /.travis.yml | |
parent | 619644fea9c86e4bdaddf6f91f380abbbb654e5b (diff) |
Fixed travis builds
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files 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 |