From 2a12c268d615c945d06de4458c349df543314e35 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 12 Aug 2019 11:32:17 +0200 Subject: [PATCH] tests: drop sonarcloud tests Signed-off-by: Giuseppe Scrivano --- .travis.yml | 10 ---------- README.md | 3 --- contrib/sonarcloud/sonar-project.properties | 10 ---------- sonar-project.properties | 7 ------- 4 files changed, 30 deletions(-) delete mode 100644 contrib/sonarcloud/sonar-project.properties delete mode 100644 sonar-project.properties diff --git a/.travis.yml b/.travis.yml index 3e6c5ae77..1678fc54e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,9 @@ matrix: allow_failures: - env: TEST=coverity - - env: TEST=sonarcloud -cache: - directories: - - '$HOME/.sonar/cache' env: matrix: - TEST=make - - TEST=sonarcloud - TEST=podman - TEST=oci-validation - TEST=coverity @@ -27,10 +22,6 @@ language: c sudo: required dist: xenial addons: - sonarcloud: - organization: "giuseppe" - token: - secure: "cratZs866YzinJnsJvPpxGp+wGhp90Ei0uY8SM6p7ZAf0A0LGVFPUi+o2PeXRbjHLxqcjU4OvZdnz2/shYQh8ohEJxo9jH9HNM4j6O58O6vsk7/n4xzAzvnQK+1HKZ72Cz/fPLFDY8gwN2C+Ryq8nbqtzUohsiZNrtL3QFi9NerjgE8tTzod4YPrSHgpK8yaAAbuHxMkIZZO50Cf1lLCQPEjzMn2HJPCZgCOaOnh6hoP/+zAkwok8v/ZAEy0Fz63hBD/5OAYzdYYDtWVjDWoocGxxKMhlyIh+D5blUN4mLm4RyNIUi37puVhZT49Aua43GpdmiJ2iqCP8yF0OQHJ7eii2s53DwBQqtEdQIKG+ofoMmebgyPxTG7jxOD56h1ajNIXWOZ7/Ii3JuAGFCgRP/F7JC060hbj47CcqfUo4qqlfsw/18+X0pH7DBMzJl+JV0H7x6mbxJ30L3eZ4xUPF5dBNX7bcstXyuCQ+GkAA2PfalJMc4/50upeXVJ4ZhDkpPZ3xCxtJ71plcHH089l0KxgOdaCjerp19IoPx44Eo9otGRA/nO6YIPDHKAUJd5GZzSorguXGCzI4FEe/y9G5tDR2RsB+q7XXVE36f+PJtSVKMjB6sSFiQBk7270fXKUemQyDoo5YyjBp/rALtoHeyjfpP3WPBTeU33RroIzt98=" apt: packages: - automake @@ -55,7 +46,6 @@ before_install: - git clone --depth=1 git://github.com/lloyd/yajl - "(cd yajl && ./configure -p /usr && make && sudo make install)" script: -- if test $TEST = sonarcloud; then ./autogen.sh && build-wrapper-linux-x86-64 --out-dir bw-output sh -c './configure && make' && cd contrib/sonarcloud && sonar-scanner -X; fi - if test $TEST = make; then ./autogen.sh && ./configure CFLAGS='-Wall -Werror' && make -j $(nproc) && make syntax-check; fi - if test $TEST = podman; then sudo docker run --privileged --rm -ti -v /sys/fs/cgroup:/sys/fs/cgroup:rw,rslave -v $(pwd):/crun crun-podman; fi - if test $TEST = oci-validation; then sudo docker run --privileged --rm -ti -v /sys/fs/cgroup:/sys/fs/cgroup:rw,rslave -v $(pwd):/crun crun-oci-validation; fi diff --git a/README.md b/README.md index 0ae02f509..f7b556b61 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,6 @@ [![Coverity Status](https://scan.coverity.com/projects/17787/badge.svg)](https://scan.coverity.com/projects/giuseppe-crun) [![Total alerts](https://img.shields.io/lgtm/alerts/g/giuseppe/crun.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/giuseppe/crun/alerts/) [![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/giuseppe/crun.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/giuseppe/crun/context:cpp) -[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=giuseppe_crun&metric=bugs)](https://sonarcloud.io/dashboard?id=giuseppe_crun) -[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=giuseppe_crun&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=giuseppe_crun) -[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=giuseppe_crun&metric=security_rating)](https://sonarcloud.io/dashboard?id=giuseppe_crun) A fast and low-memory footprint OCI Container Runtime fully written in C. diff --git a/contrib/sonarcloud/sonar-project.properties b/contrib/sonarcloud/sonar-project.properties deleted file mode 100644 index 8637f142c..000000000 --- a/contrib/sonarcloud/sonar-project.properties +++ /dev/null @@ -1,10 +0,0 @@ -sonar.projectKey=giuseppe_crun -sonar.projectName=crun - -sonar.projectBaseDir=../.. -sonar.sources=src -sonar.tests=tests -sonar.exclusions=src/libcrun/chroot_realpath.c,src/libcrun/cloned_binary.c -sonar.coverage.exclusions=src/**,tests/** - -sonar.cfamily.build-wrapper-output=../../bw-output diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 3f8c89b90..000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,7 +0,0 @@ -sonar.projectKey=giuseppe_crun -sonar.projectName=crun - -sonar.sources=src/** -sonar.tests=tests/** - -sonar.cfamily.build-wrapper-output=bw-output