From 12eabd28f43a05cb3f59aa1513f45f1d22f3f186 Mon Sep 17 00:00:00 2001 From: rbock Date: Thu, 29 Oct 2015 18:51:28 +0100 Subject: [PATCH] Pacify travis CI --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 102f88df..32edb2e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ notifications: install: - CMAKE_VERSION_MM=3.2 - CMAKE_VERSION_FULL=$CMAKE_VERSION_MM.2 + - git clone https://github.com/HowardHinnant/date - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo add-apt-repository -y ppa:apokluda/boost1.53 @@ -44,7 +45,7 @@ before_script: - mkdir build - cd build - if [[ "$CXX" = "g++" && "$CONFIG" = "Debug" && "$TRAVIS_OS_NAME" = "linux" ]]; then export CXXFLAGS="--coverage"; fi - - cmake .. -DCMAKE_BUILD_TYPE=$CONFIG + - cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DDATE_INCLUDE_DIR=$PWD/../date script: - cmake --build . --config $CONFIG