Drop Travis-CI in favor of GitHub Actions

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2021-07-26 23:38:07 +02:00
parent e89ccd44ec
commit 5163b76290
2 changed files with 8 additions and 53 deletions

View File

@ -1,46 +0,0 @@
language: c
sudo: required
compiler:
- gcc
- clang
# The secure: declaration is the encrypted COVERITY_SCAN_TOKEN, created
# using the project repo's public key:
# travis encrypt COVERITY_SCAN_TOKEN="foo"
env:
global:
- secure: "RHZDmXeTezxGvT1XjxnW2VzpqIJJMhbjgmm+iotVcPUWRH4KqNTZV75p0K4bPmEsO4WkQEstW4+c6VZHeU51Pt9KzlgQqzefRS02szdZcaFqzLQJPIDOPbn39YM7TAmf2+QEIJNKy0uH60eqKX2v2gMMP3ddM5SDXJsRamkZb0mB3+9pZbInrXJlNDM1EumHA/t/vjXnIBkdkm1r1GBds4iW51eW2kIgrmbtVC8IF6uRL8qVpxlEfcVKIJ9RiTktefoXwdrFSPonyqWbKDwrC6wo9HyEM9PEY7dXobysUWss6mnWFruefveUEAampwUVk+DLLlW3ZMSG83xDsKZqmzhG74OW9xRBbi5OUphnVJ9J7bbLSBapGHmQcwEKQtAVh1UjnWcZfkK940x7CYWni9z+3gsqcrihmIyAz+iQbgGp8e9CWvf3y9mrRVFPsLhu9z1rf1P0C8+3IM33P2Ll//l3NGOl3R9bNoewMXi9VVvuDgnHeGCzVKsgXG4BtnWZ/8Vr6Cot0spCPuKRTzSThnKx0PuoWLM8NeJFAyF3B4RnFOxL03BHBuNLs083KiLz7Z4GZClZFAgC79O32uy6ZzYcUP7EwOK1fh6miX7+TinFT1Ue31dtVc9XnJq98jUS8L7UKSZMJhZtj1PpaVBXfS4uYdaBkeDVAzwTbu28HIU="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
# Use Ubuntu 18.04 LTS for builds
dist: bionic
addons:
apt:
packages:
- tree
- tshark
coverity_scan:
project:
name: "troglobit/sysklogd"
description: "RFC5424 compliant syslog daemon and syslog()/syslogp() API for Linux"
notification_email: troglobit@gmail.com
build_command_prepend: "./autogen.sh && ./configure"
build_command: "make clean all"
branch_pattern: dev
# Build test programs as regular user, or clang build may fail
script:
- ./autogen.sh
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules --with-systemd=/tmp/sysklogd/lib/systemd/system
- make clean
- make all
- make -C test programs
- sudo make check || (which clang; cat test/test-suite.log; cat test/start.log; cat test/api.log; false)
- make install-strip
- mkdir -p /tmp/example; cp -a example/example.* /tmp/example/
- (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk)
- tree /tmp/sysklogd

View File

@ -10,7 +10,7 @@
``` ```
<a href="https://repology.org/project/sysklogd/versions"><img align="right" alt="Packaging status" <a href="https://repology.org/project/sysklogd/versions"><img align="right" alt="Packaging status"
src="https://repology.org/badge/vertical-allrepos/sysklogd.svg"></a> src="https://repology.org/badge/vertical-allrepos/sysklogd.svg"></a>
[![BSD Badge][]][BSD License] [![Travis Status][]][Travis] [![Coverity Status][]][Coverity Scan] [![BSD Badge][]][BSD License] [![GitHub Status][]][GitHub] [![Coverity Status][]][Coverity Scan]
Table of Contents Table of Contents
----------------- -----------------
@ -178,22 +178,23 @@ This is the continuation of the original sysklogd by Dr. G.W. Wettstein
and [Martin Schulze][]. Currently maintained, and almost completely and [Martin Schulze][]. Currently maintained, and almost completely
rewritten with the latest DNA strands from NetBSD and FreeBSD, by rewritten with the latest DNA strands from NetBSD and FreeBSD, by
[Joachim Wiberg][]. Please file bug reports, or send pull requests for [Joachim Wiberg][]. Please file bug reports, or send pull requests for
bug fixes and proposed extensions at [GitHub][]. bug fixes and proposed extensions at [GitHub][Home].
The project was previously licensed under the GNU GPL, since the removal The project was previously licensed under the GNU GPL, but since the
of `klogd` the project is now [3-clause BSD][BSD License] licensed. removal of `klogd`, man pages, and resync with the BSDs the project is
now [3-clause BSD][BSD License] licensed.
[RFC3164]: https://tools.ietf.org/html/rfc3164 [RFC3164]: https://tools.ietf.org/html/rfc3164
[RFC5424]: https://tools.ietf.org/html/rfc5424 [RFC5424]: https://tools.ietf.org/html/rfc5424
[Martin Schulze]: http://www.infodrom.org/projects/sysklogd/ [Martin Schulze]: http://www.infodrom.org/projects/sysklogd/
[Joachim Wiberg]: https://troglobit.com [Joachim Wiberg]: https://troglobit.com
[Finit]: https://github.com/troglobit/finit [Finit]: https://github.com/troglobit/finit
[GitHub]: https://github.com/troglobit/sysklogd [Home]: https://github.com/troglobit/sysklogd
[example]: https://github.com/troglobit/sysklogd/tree/master/example [example]: https://github.com/troglobit/sysklogd/tree/master/example
[buildsystem]: https://airs.com/ian/configure/ [buildsystem]: https://airs.com/ian/configure/
[BSD License]: https://en.wikipedia.org/wiki/BSD_licenses [BSD License]: https://en.wikipedia.org/wiki/BSD_licenses
[BSD Badge]: https://img.shields.io/badge/License-BSD%203--Clause-blue.svg [BSD Badge]: https://img.shields.io/badge/License-BSD%203--Clause-blue.svg
[Travis]: https://travis-ci.org/troglobit/sysklogd [GitHub]: https://github.com/troglobit/sysklogd/actions/workflows/build.yml/
[Travis Status]: https://travis-ci.org/troglobit/sysklogd.png?branch=master [GitHub Status]: https://github.com/troglobit/sysklogd/actions/workflows/build.yml/badge.svg
[Coverity Scan]: https://scan.coverity.com/projects/19540 [Coverity Scan]: https://scan.coverity.com/projects/19540
[Coverity Status]: https://scan.coverity.com/projects/19540/badge.svg [Coverity Status]: https://scan.coverity.com/projects/19540/badge.svg