message: Travis CI: get a newer CMake than any apt repo can provide
diff: @@ -7,20 +7,17 @@ addons:
  sources:
  - ubuntu-toolchain-r-test
  - llvm-toolchain-trusty-4.0
  - - george-edison55-precise-backports
  packages:
  - - cmake-data
  - - cmake
  - clang++-4.0
  - g++-6
  - - libssl-dev
  before_install:
  - mkdir ext
  - git clone --recursive --depth=1 --single-branch --branch boost-1.64.0 git://github.com/boostorg/boost ext/boost
  - "cd ext/boost && ./bootstrap.sh --prefix=$TRAVIS_BUILD_DIR/ext && ./b2 headers && echo 'using clang : 4.0 : clang++-4.0 ;' >> project-config.jam && ./b2 -d0 -j4 --with-thread --with-date_time --with-system --with-program_options --with-signals --with-serialization --with-chrono --with-test --with-context --with-locale toolset=clang link=shared install"
  - cd $TRAVIS_BUILD_DIR/ext && git clone --depth=1 --single-branch git://github.com/cryptonomex/secp256k1-zkp
  - cd secp256k1-zkp && ./autogen.sh && ./configure --prefix=$TRAVIS_BUILD_DIR/ext CC=clang-4.0 CXX=clang++-4.0 && make && make install
  + - cd $TRAVIS_BUILD_DIR/ext && wget https://cmake.org/files/v3.9/cmake-3.9.0-Linux-x86_64.tar.gz && tar xzf cmake-3.9.0-Linux-x86_64.tar.gz
  script:
  - - cmake --version
  - - cmake -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT=$TRAVIS_BUILD_DIR/ext -DSecp256k1_ROOT_DIR=$TRAVIS_BUILD_DIR/ext
  + - ext/cmake-3.9.0-Linux-x86_64/bin/cmake --version
  + - ext/cmake-3.9.0-Linux-x86_64/bin/cmake -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT=$TRAVIS_BUILD_DIR/ext -DSecp256k1_ROOT_DIR=$TRAVIS_BUILD_DIR/ext
  - make -j4
  