A Travis to monero

Add a Travis build script for Monero. This was blatantly copied from
Bitcoin. It spawns jobs in docker containers running an ubuntu bionic
image.

This commit also a fixes a problem where librt was still linked, even
when compiling statically.
This commit is contained in:
TheCharlatan 2018-09-18 17:07:54 +02:00 committed by wowario
parent 58a260bfe4
commit baaf0f90f1
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
2 changed files with 64 additions and 1 deletions

View file

@ -850,7 +850,7 @@ elseif(DRAGONFLY)
set(EXTRA_LIBRARIES execinfo ${COMPAT})
elseif(CMAKE_SYSTEM_NAME MATCHES "(SunOS|Solaris)")
set(EXTRA_LIBRARIES socket nsl resolv)
elseif(NOT MSVC)
elseif(NOT MSVC AND NOT DEPENDS)
find_library(RT rt)
set(EXTRA_LIBRARIES ${RT})
endif()