From 632bb1ec2ff83ef6f16bc2765e81391868821195 Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 19 Jul 2017 12:54:12 +0200 Subject: [PATCH] Replaced docker image debian:testing with eidheim/testing, and removed boost.thread and boost.date_time from CMakeLists --- .travis.yml | 4 +--- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a2f59e..61370c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 && diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fbb907..119d278 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)