From: German Service Network Date: Thu, 1 Jan 2026 09:43:03 +0000 (+0100) Subject: ci: Removing travis-ci X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f689c314d0071f53c3496cd005f194b72dbf36af;p=fping.git ci: Removing travis-ci --- diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6d47e09..0000000 --- a/.travis.yml +++ /dev/null @@ -1,98 +0,0 @@ -language: generic - -os: - - linux - -dist: - - trusty - - xenial - -env: - global: - - secure: "CoI8hwHH1yfQoQxIfWGRS0WfTyScox+5aJn0fDDgz2uKrrIxmBvIw/WKX8wcSiV6fLmLuwgNkKqSM3hdO4qaG+JxfWcuEiZZHm+kxSGMkWbGb/fvAI+gHg8ldKyYttcIX71O5rlZiC2QpNKQi2v18S6pI5p8eqnx7DYx4YrmguQ=" - # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created - # via the "travis encrypt" command using the project repo's public key - - secure: "C9ZJ9LYnuowRdF4D66KLfquimvu8GtRGIafwvCcGYKReEy8phlBdFsHlybkMBNYJNTJSM0j6wyo1lKTVGHxmpQDimjR7kmxUtawbhuJ5qOCBtFqNVh9lRQi7hC4+UOhvRsIcbV8HAJM5u/5RxGOfXCePK3a2DtiYv1d2NHToZN8=" - -notifications: - webhooks: https://coveralls.io/webhook - -compiler: - - gcc - -addons: - apt: - update: true - packages: - - libcap2-bin - - libtest-command-perl - -script: - - ci/build-4-compile.sh - - ci/run-tests.sh - -after_success: - - ci/deploy-coveralls.sh - -stages: - - test - - name: deploy - if: branch = master OR branch = v4.x - - name: coverity - if: branch = master OR branch = coverity_scan - -jobs: - include: - #### STAGE: test - - stage: test - name: test trusty - os: linux - dist: trusty - env: - - SKIP_IPV6=1 - install: - - ci/build-1-autotools.sh - - - name: test xenial - os: linux - dist: xenial - env: - - SKIP_IPV6=1 - - - name: test bionic - os: linux - dist: bionic - env: - - SKIP_IPV6=1 - - - name: test bionic lxd arm64 - os: linux - dist: bionic - arch: arm64 - - - name: test macos - os: osx - install: - - ci/build-2-test-command.sh - - ci/build-3-prepare-macos.sh - env: - - SKIP_IPV6=1 - - #### STAGE: deploy - - stage: deploy - name: deploy - os: linux - dist: xenial - env: - - SKIP_IPV6=1 - after_success: - - ci/deploy-bintray.sh - - #### STAGE: coverity - - stage: coverity - name: coverity - os: linux - dist: xenial - after_success: - script: - - ci/deploy-coverity.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index f64fb0f..877b703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Next +==== + +## New features + +## Bugfixes and other changes + +- ci: Removing travis-ci (#446, thanks @gsnw-sebast) + fping 5.5 (2025-12-31) ====================== diff --git a/ci/build-4-compile.sh b/ci/build-4-compile.sh index e2a660c..201e1c1 100755 --- a/ci/build-4-compile.sh +++ b/ci/build-4-compile.sh @@ -11,17 +11,6 @@ fi autoreconf -i ./configure --enable-ipv4 --enable-ipv6 --enable-safe-limits --prefix=/opt/fping make CFLAGS="-g -O0 -fprofile-arcs -ftest-coverage" -## setcap currently doesn't work anymore on travis-ci -#sudo setcap cap_net_raw+ep src/fping -## setcap debugging: -#pwd -#df -k . -#which setcap -#uname -a -#mount -# -#sudo apt-get install strace -#sudo strace setcap cap_net_raw+ep src/fping # use setuid, since setcap is not available sudo chown root src/fping diff --git a/ci/deploy-coveralls.sh b/ci/deploy-coveralls.sh index 9080f0b..0bd0be4 100755 --- a/ci/deploy-coveralls.sh +++ b/ci/deploy-coveralls.sh @@ -2,15 +2,6 @@ set -xe -if [ "$TRAVIS_DIST" = "trusty" ]; then - echo "skip coveralls on trusty because coveralls errors out due to python issues" - exit 0 -elif [ "$TRAVIS_OS_NAME" = "osx" ]; then - pip3 install --user cpp-coveralls - PATH="${PATH}:$(python3 -c 'import site; print(site.USER_BASE)')/bin" -else - pip install --user cpp-coveralls -fi - +pip install --user cpp-coveralls export COVERALLS_PARALLEL=true coveralls --build-root src --exclude src/optparse.c --exclude ci --exclude config.h --gcov-options '\-lp'