File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,10 @@ language: c
3
3
matrix :
4
4
include :
5
5
- os : linux
6
+ dist : bionic
6
7
addons :
7
8
apt :
8
- sources :
9
- - ubuntu-toolchain-r-test
10
9
packages :
11
- - cmake
12
10
- lcov
13
11
- libdbus-1-dev
14
12
- libdbus-glib-1-dev
@@ -28,14 +26,13 @@ matrix:
28
26
- swig
29
27
- librtmp-dev
30
28
- xsltproc
31
- - gcc-7
32
29
before_script :
33
- - export CC=gcc-7 GCOV=gcov-7
34
30
- cd build
35
31
script :
36
32
- cmake -DCMAKE_BUILD_TYPE=Debug ../
37
- - build-wrapper-linux-x86-64 --out-dir bw-output make all || true # Will always fail builds on forked repositories.
38
- - cd .. && sonar-scanner || true # Will always fail builds on forked repositories.
33
+ - build-wrapper-linux-x86-64 --out-dir bw-output make all || make all # build-wrapper won't work on forked repositories.
34
+ - ctest --output-on-failure || true # Tests won't pass on Ubuntu.
35
+ - (cd .. && sonar-scanner) || true # Will always fail builds on forked repositories.
39
36
after_success :
40
37
- curl -s https://codecov.io/bash > cov.sh && bash cov.sh -x "$GCOV"
41
38
- os : osx
@@ -54,12 +51,6 @@ matrix:
54
51
addons :
55
52
sonarcloud :
56
53
organization : " openscap"
57
- apt :
58
- sources :
59
- - ubuntu-toolchain-r-test
60
- packages :
61
- - gcc-7
62
-
63
54
64
55
cache :
65
56
directories :
You can’t perform that action at this time.
0 commit comments