From a6d13780f138b33169c748b25a41f7d94ab620ee Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Sat, 22 Sep 2018 16:21:22 +0800 Subject: Modify build script. --- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 81fa0eb..403c433 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,17 @@ -sudo: required +sudo: false dist: trusty language: cpp compiler: - gcc - clang -before_install: - - sudo apt install -y libgmp-dev +addons: + apt: + packages: + - libgmp-dev +install: + - git clone --depth 1 https://github.com/herumi/mcl.git $TRAVIS_BUILD_DIR/../mcl script: - - git clone --depth 1 https://github.com/herumi/mcl.git - - git clone --depth 1 https://github.com/herumi/bls.git - - cd bls - - make + - make -j3 - make test DISABLE_THREAD_TEST=1 - make test_go - bin/bls_c384_test.exe -- cgit v1.2.3