Skip to content

Commit

Permalink
Travis CI: adjust some build params
Browse files Browse the repository at this point in the history
  • Loading branch information
mitza-oci committed Jul 26, 2017
1 parent 584625e commit 575cb49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ addons:
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 -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 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
script:
- cmake -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT=$TRAVIS_BUILD_DIR/ext
- 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
- make -j4

0 comments on commit 575cb49

Please sign in to comment.