This repository was archived by the owner on Jul 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,13 @@ addons:
2525 organization : " tango-controls"
2626 token :
2727 secure : ${SONAR_TOKEN}
28- apt :
29- update : true
3028
3129before_install :
3230 - docker pull tangocs/mysql:9.2.2
3331 - docker pull tangocs/tango-cs:latest
3432 - git clone https://github.com/JoakimSoderberg/coveralls-cmake.git
3533 - git clone -b v4.2.2 https://${CI_USER_TOKEN}@github.com/zeromq/cppzmq.git cppzmq
3634 - git clone -b tango-9-lts https://${CI_USER_TOKEN}@github.com/tango-controls/tango-idl.git idl
37- - sudo apt-get install -y gcovr
3835
3936before_script :
4037 - docker run --name mysql_db -e MYSQL_ROOT_PASSWORD=root -d tangocs/mysql:9.2.2 --sql-mode=""
@@ -51,7 +48,7 @@ script:
5148 - .travis/test.sh COVERALLS=OFF
5249
5350after_success :
54- - test ${COVERALLS} = "ON" && gcovr -r . -x --object-directory=/home/tango/src/build > report.xml
51+ - test ${COVERALLS} = "ON" && .travis/coverage.sh
5552 - test ${SONAR_SCANNER} = "ON" && sonar-scanner
5653
5754deploy :
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ docker exec cpp_tango /bin/sh -c ' cd /home/tango/src; gcovr --root /home/tango/src --use-gcov-files --xml --output report.xml --verbose /home/tango/src/build'
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN apt-get install -y curl lsb-release
1414
1515RUN apt-get install -y omniidl libomniorb4-dev libcos4-dev libomnithread3-dev libzmq3-dev
1616
17- RUN apt-get update && apt-get install -y curl
17+ RUN apt-get update && apt-get install -y curl gcovr
1818
1919RUN groupadd -g "$APP_GID" tango
2020
You can’t perform that action at this time.
0 commit comments