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
|
- docker
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- sudo docker run -it -v "$PWD:/repository" debian:testing sh -c "
|
- sudo docker run -it -v "$PWD:/repository" eidheim/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 &&
|
|
||||||
cd /repository && mkdir build && cd build &&
|
cd /repository && mkdir build && cd build &&
|
||||||
scan-build cmake -DCMAKE_CXX_FLAGS=-Werror .. &&
|
scan-build cmake -DCMAKE_CXX_FLAGS=-Werror .. &&
|
||||||
scan-build --status-bugs make &&
|
scan-build --status-bugs make &&
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ include_directories(.)
|
||||||
|
|
||||||
find_package(Threads REQUIRED)
|
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
|
# Late 2017 TODO: remove the following checks and always use std::regex
|
||||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
|
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue