From e54a1f910e31c6a5d481f932520d7e78b4bfa04a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sun, 3 Mar 2024 17:46:36 +0100 Subject: [PATCH] Remove obsolete Travis CI files * .travis.yml: Remove. * contrib/travis-ci: Remove. --- .travis.yml | 51 ---------------------------------------- contrib/travis-ci | 60 ----------------------------------------------- 2 files changed, 111 deletions(-) delete mode 100644 .travis.yml delete mode 100755 contrib/travis-ci diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6ca10df2..00000000 --- a/.travis.yml +++ /dev/null @@ -1,51 +0,0 @@ -sudo: no -dist: trusty - -language: c - -compiler: - - gcc - -notifications: - email: - recipients: - - darnir@gmail.com - - wget-dev@gnu.org - on_success: change - on_failure: always - -env: - global: - - PERLLIB=$PERLLIB:../../tests - - PERL5LIB=$PERL5LIB:../../tests - matrix: - - SSL="" - - SSL="openssl" - - SSL="gnutls" - -addons: - apt: - packages: - - automake - - autoconf - - autopoint - - flex - - texinfo - - pkg-config - - libgnutls-dev - - libssl-dev - - make - - libhttp-daemon-perl - - libio-socket-ssl-perl - - libidn2-dev - - gettext - - texlive - - python3 - - valgrind - - language-pack-tr - - language-pack-ru - -script: - - make distclean || true - - ./bootstrap - - ./contrib/travis-ci $SSL diff --git a/contrib/travis-ci b/contrib/travis-ci deleted file mode 100755 index 49684435..00000000 --- a/contrib/travis-ci +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -# Set a stricter bash mode -set -e -set -u - -# Set up the subset of tests this Matrix instance will run. - -# One instance is forked for each of the SSL library possibilities -SSL=${1:-""} -case $SSL in - "") SSL_LIB="--without-ssl";; - "openssl") SSL_LIB="--with-ssl=openssl";; - "gnutls") SSL_LIB="--with-ssl=gnutls";; -esac - -# For some reason. /proc/cpuinfo reports 16 cores on Travis, while the docs -# claim that each instance has only 2 cores. We believe the docs and force a -# value of n+1 here. -CORES=3 - -# Define a large number of Warning flags for the compiler. Hopefully, someone -# will sit and analyze the output to clean the warnings from the codebase. -CFLAGS="-std=c89 -pedantic -O0 -Wall -Wextra -Wstrict-prototypes -Wold-style-definition -Wwrite-strings -Wshadow -Wformat -Wformat-security -Wunreachable-code -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition" - -# A cachefile for ./configure. Saves significant time when reconfiguring -CACHEFILE=$PWD/config_check.cache - -# measure time consumed and print it at the end of the script -START=$(date +%s) - -# Test different Permutations of Wget. Always under Valgrind -# -# Options: -# - All Features Enabled -# - C [Default Locale] -# - Russian [Multibyte / Multicolumn Locale] -# - Turkish [Special Test due to issues with language] -# - IPv6 Disabled -# - C -for options in "" "--disable-ipv6"; do - export DISTCHECK_CONFIGURE_FLAGS="-C --cache-file=$CACHEFILE --enable-assert --enable-valgrind-tests $SSL_LIB $options" - echo " ./configure $DISTCHECK_CONFIGURE_FLAGS CFLAGS=\"$CFLAGS\"" - ./configure $DISTCHECK_CONFIGURE_FLAGS CFLAGS="$CFLAGS" - - if [[ -z $options ]]; then - LANG_ARR=("ru_RU.UTF-8" "tr_TR.UTF-8" "C") - else - LANG_ARR=("C") - fi - - for xLCALL in "${LANG_ARR[@]}"; do - export TESTS_ENVIRONMENT="LC_ALL=$xLCALL VALGRIND_TESTS=1" - echo " TESTS_ENVIRONMENT=\"$TESTS_ENVIRONMENT\" make distcheck CFLAGS=$CFLAGS -j$CORES" - make distcheck CFLAGS="$CFLAGS" -j$CORES - done -done - -END=$(date +%s) -echo "Duration: $((END-START))"