added tests to travis
This commit is contained in:
		@@ -107,7 +107,7 @@ before_install:
 | 
				
			|||||||
  - which $CXX
 | 
					  - which $CXX
 | 
				
			||||||
  - which $CC
 | 
					  - which $CC
 | 
				
			||||||
  - which valgrind
 | 
					  - which valgrind
 | 
				
			||||||
  - if [ -n "$CLANG_VERSION" ]; then sudo CXX=$CXX CC=$CC ./install_libcxx.sh; fi
 | 
					  - if [ -n "$CLANG_VERSION" ]; then sudo CXX=$CXX CC=$CC .tests/install_libcxx.sh; fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install:
 | 
					install:
 | 
				
			||||||
  - cd $CHECKOUT_PATH
 | 
					  - cd $CHECKOUT_PATH
 | 
				
			||||||
@@ -131,10 +131,12 @@ install:
 | 
				
			|||||||
  - cd example
 | 
					  - cd example
 | 
				
			||||||
  - if [ "$BUILD_TYPE" == "Release" ]; then make rebuild CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; export BIN=example; fi
 | 
					  - if [ "$BUILD_TYPE" == "Release" ]; then make rebuild CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; export BIN=example; fi
 | 
				
			||||||
  - if [ "$BUILD_TYPE" == "Debug" ]; then make rebuild debug CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; export BIN=example-debug; fi
 | 
					  - if [ "$BUILD_TYPE" == "Debug" ]; then make rebuild debug CXXFLAGS="${CXX_FLAGS} ${CXX_LINKER_FLAGS}" VERBOSE=1; export BIN=example-debug; fi
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
  - ./"${BIN}"
 | 
					  - ./"${BIN}"
 | 
				
			||||||
  - valgrind --trace-children=yes --leak-check=full ./"${BIN}"
 | 
					  - valgrind --trace-children=yes --leak-check=full ./"${BIN}"
 | 
				
			||||||
 | 
					  - cd tests; make rebuild; ./tests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
notifications:
 | 
					notifications:
 | 
				
			||||||
  email: false
 | 
					  email: false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user