From 33f7b46bcc47a75f834ad8e2ecf9bcf95205c4d1 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Tue, 19 Jan 2021 09:16:18 -0300 Subject: [PATCH] Using GitHub Workflow instead of Travis Changes QA badge to GitHub --- .travis.yml | 69 ----------------------------------------------------- README.md | 3 +-- 2 files changed, 1 insertion(+), 71 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 31740b9d..00000000 --- a/.travis.yml +++ /dev/null @@ -1,69 +0,0 @@ -dist: trusty -sudo: true - -addons: - apt: - packages: - - libfuzzy-dev - - libyajl-dev - - libgeoip-dev - - liblua5.2-dev - - liblmdb-dev - - cppcheck - - homebrew: - packages: - - cppcheck - - libmaxminddb - - lmdb - - yajl - update: true - -language: cpp - -compiler: - - clang - - gcc - -os: - - linux - - osx - -osx_image: xcode12 - -env: - - OPTS="--enable-parser-generation $OPTS" - - OPTS="--without-curl $OPTS" - - OPTS="--without-yajl $OPTS" - - OPTS="--without-geoip $OPTS" - - OPTS="--with-lmdb $OPTS" - - OPTS="--without-ssdeep $OPTS" - - OPTS="--without-lua $OPTS" - - OPTS="--without-maxmind $OPTS" - - -before_script: - - echo $TRAVIS_OS_NAME - - '[ "$TRAVIS_OS_NAME" != linux ] || sudo add-apt-repository --yes ppa:maxmind/ppa' - - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get update' - - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-cache search maxmind' - - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get install -y libmaxminddb-dev' - - -script: - - ./build.sh - - ./configure $OPTS - - make parser - - make parser - - make -j$(getconf _NPROCESSORS_ONLN) || make -j$(getconf _NPROCESSORS_ONLN) || make -# -# Temporarily disabled. -# - make -j$(getconf _NPROCESSORS_ONLN) -# Leading build to crash with parser enabled. -# Not sure why. -# - - make check -j$(getconf _NPROCESSORS_ONLN) - - make check-static - - - diff --git a/README.md b/README.md index b943fbc9..1e010d0c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -[![Build Status](https://travis-ci.org/SpiderLabs/ModSecurity.svg?branch=v3/master)](https://travis-ci.org/SpiderLabs/ModSecurity) -[![](https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)](https://zenhub.com) +![Quality Assurance](https://github.com/SpiderLabs/ModSecurity/workflows/Quality%20Assurance/badge.svg) [![Build Status](https://sonarcloud.io/api/project_badges/measure?project=USHvY32Uy62L&metric=alert_status)](https://sonarcloud.io/dashboard?id=USHvY32Uy62L) [![](https://sonarcloud.io/api/project_badges/measure?project=USHvY32Uy62L&metric=sqale_rating )](https://sonarcloud.io/dashboard?id=USHvY32Uy62L)