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 2020/02/18 11:06:03 UTC
[incubator-milagro-MPC] branch issue11 created (now 9f406a3)
This is an automated email from the ASF dual-hosted git repository.
kmccusker pushed a change to branch issue11
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git.
at 9f406a3 add coveralls
This branch includes the following new commits:
new 9f406a3 add coveralls
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-milagro-MPC] 01/01: add coveralls
Posted by km...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kmccusker pushed a commit to branch issue11
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
commit 9f406a3472cfc4291751937328eca869ed16ca4a
Author: Kealan McCusker <ke...@gmail.com>
AuthorDate: Tue Feb 18 11:05:38 2020 +0000
add coveralls
---
.travis.yml | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 7d3a7ca..fd7c4f3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,12 @@
language: c
compiler: gcc
-dist: trusty
+dist: bionic
+services:
+ - docker
install:
- gem install coveralls-lcov
-services:
-- docker
-
jobs:
include:
- stage: test
@@ -15,17 +14,17 @@ jobs:
- 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 -t libmpc .
- # - CONTAINER_ID=$(docker run --cap-add SYS_PTRACE -d libmpc ./scripts/coverage.sh)
- # - sleep 100
- # - docker logs $CONTAINER_ID
- # - docker cp ${CONTAINER_ID}:"/root/target/Coverage/coverage" ./
- # - docker rm -f ${CONTAINER_ID} || true
- # - sed -i "s|root|home/travis/build/apache/libmpc|" ./coverage/libmpc.info
- # - coveralls-lcov /home/travis/build/apache/libmpc/coverage/libmpc.info
+ - stage: coverage
+ script:
+ - echo "Generate coverage figures"
+ - docker build -t libmpc .
+ - CONTAINER_ID=$(docker run --cap-add SYS_PTRACE -d libmpc ./scripts/coverage.sh)
+ - sleep 100
+ - docker logs $CONTAINER_ID
+ - docker cp ${CONTAINER_ID}:"/root/target/Coverage/coverage" ./
+ - docker rm -f ${CONTAINER_ID} || true
+ - sed -i "s|root|home/travis/build/apache/incubator-milagro-MPC|" ./coverage/libmpc.info
+ - coveralls-lcov /home/travis/build/apache/incubator-milagro-MPC/coverage/libmpc.info