(Travis) Should run tests on mac

v0.27.3
Pix4d 8 years ago committed by Luis Diaz Mas
parent a721ab343d
commit 3f53588de7

@ -9,5 +9,6 @@ conan install .. --build missing --profile release
cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=install ..
make -j2
make tests
bin/unit_tests
make install
cd bin
./unit_tests

@ -10,7 +10,10 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_MACOSX_RPATH 1)
set(CMAKE_MACOSX_RPATH ON)
if (APPLE)
set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
endif()
set( PACKAGE_COPYRIGHT "Andreas Huggel" )
set( PACKAGE_BUGREPORT "http://github.com/exiv2/exiv2" )

@ -24,3 +24,4 @@ class Exiv2Conan(ConanFile):
def imports(self):
self.copy('*.dll', dst='bin', src='bin')
self.copy('*.dylib', dst='bin', src='lib')

Loading…
Cancel
Save