From 314f16990a9babb4608d977035b5ab896b7f0821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sat, 13 Jan 2024 18:52:11 +0100 Subject: [PATCH] Add CodeQL badge and remove TravisCI badge --- .travis.yml | 59 -------------------------------------------- .travis_coveralls.sh | 6 ----- README.md | 2 +- 3 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 .travis.yml delete mode 100755 .travis_coveralls.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ed58b6c9..00000000 --- a/.travis.yml +++ /dev/null @@ -1,59 +0,0 @@ -sudo: false -dist: xenial - -language: c - -compiler: - - gcc - - clang-3.8 - -branches: - only: - - master - - coveralls-text - -env: - - RUNTIME=libicu - - RUNTIME=libidn2 - - RUNTIME=libidn - - RUNTIME=no - -addons: - apt: - packages: - - automake - - autoconf - - autopoint - - libtool - - gtk-doc-tools - - gettext - - libidn11-dev - - libidn2-0-dev - - libicu-dev - - libunistring-dev - - lcov - - clang-3.8 - - llvm-3.8-dev - - llvm-dev - - valgrind - -script: - - set -e - - sed -i 's/dist-lzip//g' configure.ac - - ./autogen.sh -# CFI doesn't work out on Ubuntu 14.04 (Trusty). They don't include LLVMgold.so for clang-3.8. -# clang-3.4 doesn't know CFI yet. -# The only chance with Travis-CI is to switch to docker and use Ubuntu 16.04 or whatever. -# - if [[ $CC == "gcc" ]]; then CFI=""; else CFI="--enable-cfi"; fi - - if [[ $CC == "clang-3.8" ]]; then UBSAN="--enable-ubsan"; fi - - ./configure $CFI --enable-asan $UBSAN && make -j4 && make check -j4 - - ./configure $CFI --enable-runtime=$RUNTIME --enable-builtin=libicu --enable-asan $UBSAN && make clean && make -j4 && make check -j4 - - ./configure $CFI --enable-runtime=$RUNTIME --enable-builtin=libidn2 --enable-asan $UBSAN && make clean && make -j4 && make check -j4 - - ./configure $CFI --enable-runtime=$RUNTIME --enable-builtin=libidn --enable-asan $UBSAN && make clean && make -j4 && make check -j4 - - ./configure $CFI --enable-runtime=$RUNTIME --disable-builtin --enable-asan $UBSAN && make clean && make -j4 && make check -j4 -# libidn2 0.9.0 on Trusty has bugs, valgrinding the fuzz corpora fails -# so we use libicu here - - if [[ $RUNTIME == "libicu" ]]; then VALGRIND="--enable-valgrind-tests"; fi - - ./configure --enable-runtime=$RUNTIME --enable-builtin=libicu --enable-gtk-doc $VALGRIND && make clean && make -j4 && make check -j4 || cat fuzz/*_fuzzer.log - - make distcheck - - if [[ $CC == "gcc" && $RUNTIME == "libicu" ]]; then ./.travis_coveralls.sh; fi diff --git a/.travis_coveralls.sh b/.travis_coveralls.sh deleted file mode 100755 index 4d1f1876..00000000 --- a/.travis_coveralls.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -make check-coverage-libicu -pip install --user cpp-coveralls - -coveralls --include src/ diff --git a/README.md b/README.md index 65c3799e..35653590 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Travis-CI Status](https://travis-ci.org/rockdaboot/libpsl.png?branch=master)](https://travis-ci.org/rockdaboot/libpsl) [![Coverity Scan](https://img.shields.io/coverity/scan/10227.svg)](https://scan.coverity.com/projects/rockdaboot-libpsl) [![Coverage Status](https://coveralls.io/repos/github/rockdaboot/libpsl/badge.svg?branch=master)](https://coveralls.io/github/rockdaboot/libpsl?branch=master) +[![CodeQL](https://github.com/rockdaboot/libpsl/actions/workflows/codeql.yml/badge.svg)](https://github.com/rockdaboot/libpsl/actions/workflows/codeql.yml) Solaris OpenCSW [![Build Status Solaris amd64](https://buildfarm.opencsw.org/buildbot/png?builder=libpsl-solaris10-amd64)](https://buildfarm.opencsw.org/buildbot/builders/libpsl-solaris10-amd64) [![Build Status Solaris i386](https://buildfarm.opencsw.org/buildbot/png?builder=libpsl-solaris10-i386)](https://buildfarm.opencsw.org/buildbot/builders/libpsl-solaris10-i386)