Replaced docker image debian:testing with eidheim/testing, and removed boost.thread and boost.date_time from CMakeLists
This commit is contained in:
parent
02b34e860b
commit
632bb1ec2f
2 changed files with 2 additions and 4 deletions
|
|
@ -4,9 +4,7 @@ services:
|
|||
- docker
|
||||
|
||||
script:
|
||||
- sudo docker run -it -v "$PWD:/repository" debian:testing sh -c "
|
||||
apt-get update &&
|
||||
apt-get install --yes cmake make g\+\+ clang perl libssl-dev libboost-thread-dev libboost-regex-dev libboost-date-time-dev libboost-filesystem-dev libasio-dev &&
|
||||
- sudo docker run -it -v "$PWD:/repository" eidheim/testing sh -c "
|
||||
cd /repository && mkdir build && cd build &&
|
||||
scan-build cmake -DCMAKE_CXX_FLAGS=-Werror .. &&
|
||||
scan-build --status-bugs make &&
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ include_directories(.)
|
|||
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
set(BOOST_COMPONENTS system thread filesystem date_time)
|
||||
set(BOOST_COMPONENTS system filesystem)
|
||||
# Late 2017 TODO: remove the following checks and always use std::regex
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue