forked from OpenSCAP/openscap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (24 loc) · 859 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo: required
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y autoconf automake libtool lcov libdbus-1-dev libdbus-glib-1-dev libcurl4-openssl-dev libgcrypt-dev libselinux1-dev libgconf2-dev libacl1-dev libblkid-dev libcap-dev libxml2-dev swig libxml-parser-perl libxml-xpath-perl libperl-dev librpm-dev swig librtmp-dev xsltproc
language: c
before_script:
- ./autogen.sh
- mkdir build
- cd build
script:
- ../configure --enable-sce
- build-wrapper-linux-x86-64 --out-dir bw-output make all || true # Will always fail builds on forked repositories.
- cd .. && sonar-scanner || true # Will always fail builds on forked repositories.
addons:
sonarcloud:
organization: "openscap"
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
cache:
directories:
- '$HOME/.sonar/cache'