Fixed travis builds
This commit is contained in:
parent
619644fea9
commit
616d777f43
@ -165,12 +165,12 @@ install:
|
|||||||
|
|
||||||
# Build examples
|
# Build examples
|
||||||
- cd example
|
- cd example
|
||||||
- if [ "$BUILD_TYPE" == "Release" ]; then make 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; fi
|
- if [ "$BUILD_TYPE" == "Debug" ]; then make debug CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; export BIN=example-debug; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./example
|
- ./"${BIN}"
|
||||||
- valgrind --trace-children=yes --leak-check=full ./example
|
- valgrind --trace-children=yes --leak-check=full ./"${BIN}"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
Loading…
Reference in New Issue
Block a user