You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by km...@apache.org on 2023/03/27 10:33:56 UTC
[incubator-milagro-mpc] 01/01: Update README to make master the default branch
This is an automated email from the ASF dual-hosted git repository.
kmccusker pushed a commit to branch issue53
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-mpc.git
commit 41a9cac9d0a80f7cd8827c68ac3d66def230b404
Author: kealan <ke...@gmail.com>
AuthorDate: Mon Mar 27 11:33:09 2023 +0100
Update README to make master the default branch
Update README to make master the default branch.
Remove travis from build. Remove badges.
---
.travis.yml | 57 ---------------------------------------------------------
README.md | 14 +++-----------
2 files changed, 3 insertions(+), 68 deletions(-)
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index d49d014..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-language: c
-compiler: gcc
-dist: jammy
-
-services:
- - docker
-
-addons:
- sonarcloud:
- organization: "apache"
- token:
- secure: "FjYjuVZ4OJXdktJJCjernblRou1AMnHmr1/wLpjQ/L2f+1mVHNwxJDg3hpeq9yD7GiL038x+KkQoOL+wazlZYEnhve1HOG6kmdgAwAsx+BysiDzIdEuz7fBKlaKXkK/nWh/TSo2+wSry35pYXf+wDJybyp0FiN643lL8A8ATC19MFRYfvgyrpPhk3mIYQBnpHwPLlBmFChlakHkhNJy+mfHJBdVxVQ4b7z7Kdm8OYYyXwwCxQKLNSnZ5UI6DfgCyGFBM2aFpjpK2Duok/YdtjvLdks52cG/52LVqOAKYSr80lEmpAyxKxvMbO6yYzrOvxh2uepk9nWHFVF1GeT9lgU4v6EyMVJ13zknbo0JhF2WwwKk4ws4k2D8yPkwC2HD/cPyANVqYGku+wTdEtgrwhvlAIVT9gCLp3sJDrjwE57xMkaLDHpcw9yd5OerJoMwJ0koPnBpx/KtforkeGbpNgXxYnWGA+ [...]
-
-install:
- - gem install coveralls-lcov
-
-jobs:
- include:
- - stage: sonar
- script:
- - echo "Run static code analysis"
- - git clone https://github.com/apache/incubator-milagro-crypto-c.git
- - cd incubator-milagro-crypto-c
- - mkdir build
- - cd build
- - cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D AMCL_CHUNK=64 -D AMCL_CURVE="BLS381,SECP256K1" -D AMCL_RSA="" -D BUILD_PAILLIER=ON -D BUILD_PYTHON=OFF -D BUILD_BLS=ON -D BUILD_WCC=OFF -D BUILD_MPIN=OFF -D BUILD_X509=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..
- - make
- - sudo make install
- - cd ../..
- - rm -rf python
- - mkdir build
- - cd build
- - cmake -D BUILD_TESTS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_BENCHMARK=OFF -D BUILD_PYTHON=OFF -D BUILD_DOXYGEN=OFF ..
- - build-wrapper-linux-x86-64 --out-dir bw-output make
- - mv bw-output ..
- - cd ..
- - rm -rf test
- - rm -rf examples
- - rm -rf benchmark
- - sonar-scanner -X
- - stage: test
- script:
- - echo "Build docker image and run tests"
- - docker build -t libmpc .
- - docker run --cap-add SYS_PTRACE --rm libmpc
- - stage: coverage
- script:
- - echo "Generate coverage figures"
- - docker build --build-arg build_type=Coverage -t libmpc-coverage .
- - docker run --rm libmpc-coverage cat coverage/libmpc.info > libmpc.info
- - sed -i "s|root|home/travis/build/apache/incubator-milagro-MPC|" libmpc.info
- - coveralls-lcov libmpc.info
-
-
-
-
-
diff --git a/README.md b/README.md
index f819182..4508265 100644
--- a/README.md
+++ b/README.md
@@ -19,16 +19,8 @@
# Apache Milagro Multi-Party Computation Library
-[![Master Branch](https://img.shields.io/badge/-master:-gray.svg)](https://github.com/apache/incubator-milagro-MPC/tree/master)
-[![Master Build Status](https://app.travis-ci.com/apache/incubator-milagro-MPC.svg?branch=master)](https://app.travis-ci.com/apache/incubator-milagro-MPC) [![Master Coverage Status](https://coveralls.io/repos/github/apache/incubator-milagro-MPC/badge.svg?branch=master)](https://coveralls.io/github/apache/incubator-milagro-MPC?branch=master)
-
-[![Develop Branch](https://img.shields.io/badge/-develop:-gray.svg)](https://github.com/apache/incubator-milagro-MPC/tree/develop)
-[![Develop Build Status](https://app.travis-ci.com/apache/incubator-milagro-MPC.svg?branch=develop)](https://app.travis-ci.com/apache/incubator-milagro-MPC) [![Develop Coverage Status](https://coveralls.io/repos/github/apache/incubator-milagro-MPC/badge.svg?branch=develop)](https://coveralls.io/github/apache/incubator-milagro-MPC?branch=develop)
-
-[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=apache_incubator-milagro-MPC&metric=alert_status)](https://sonarcloud.io/dashboard?id=apache_incubator-milagro-MPC)
-
* **category**: Library
-* **copyright**: 2020 The Apache Software Foundation
+* **copyright**: 2023 The Apache Software Foundation
* **license**: ASL 2.0 ([Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0))
* **link**: https://github.com/apache/incubator-milagro-MPC
@@ -159,7 +151,7 @@ pip3 install cffi
Build and install the AMCL library
```sh
-git clone https://github.com/apache/incubator-milagro-crypto-c.git
+git clone https://github.com/apache/incubator-milagro-crypto-c.git
cd incubator-milagro-crypto-c
mkdir build
cd build
@@ -171,7 +163,7 @@ sudo make install
## Compiling
-Build and test code.
+Build and test code.
```sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./