Replaced docker image debian:testing with eidheim/testing, and removed boost.thread and boost.date_time from CMakeLists

This commit is contained in:
eidheim 2017-07-19 12:54:12 +02:00
commit 632bb1ec2f
2 changed files with 2 additions and 4 deletions

View file

@ -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 &&

View file

@ -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)