Remove Travis-CI.org config

Travis-CI.org shutdown building projects. Alternatives are either using
Travis-CI.com or using GitHub Actions which is better integrated and
more clear that it's free for all repositories.
master
Zack Middleton 2021-09-14 14:35:08 -04:00 committed by Thomas Debesse
parent a04eab96f4
commit a6cf9de19e
2 changed files with 0 additions and 65 deletions

View File

@ -1,17 +0,0 @@
language: c
compiler:
- clang
- gcc
before_install:
- sudo -s tools/travis_update_packages
script:
- cmake -DWITH_QSTAT=/usr/bin/quakestat -DCMAKE_C_FLAGS=-Werror .
- make
notifications:
irc: "chat.freenode.net#xqf"
on_success: change
on_failure: always

View File

@ -1,48 +0,0 @@
#! /bin/sh
# Author: Thomas Debesse
# License: ISC
# please run this script as root user
# please use tabs for indentation (heredocs starting with <<-EOF need tabs)
echo 'Updating package list'
apt-get update -qq
# ubuntu trusty dependencies
echo 'Installing qstat, intltool, cmake, libgtk2.0-dev, libgeoip-dev dependencies'
apt-get install -q -y qstat intltool cmake libgtk2.0-dev libgeoip-dev
# libminizip-dev is not in trusty
# building xqf requires gettext 0.19 or later for 'msgfmt --desktop'
# if release is older than xenial (16.04)
if [ "$(lsb_release -sr | cut -c1-2)" -lt '16' ]
then
echo 'Adding xenial respository'
<<-EOF cat >> '/etc/apt/sources.list.d/ubuntu-xenial-main.list'
deb http://archive.ubuntu.com/ubuntu xenial main universe
EOF
echo 'Pin xenial repository to disable package installation from this repository by default'
<<-EOF cat > '/etc/apt/preferences.d/xenial-pinning'
Package: *
Pin: release n=xenial
Pin-Priority: -100
EOF
echo 'Adding the xenial repository key'
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
echo 'Updating package list'
apt-get update -qq
echo 'Installing libminizip-dev gettext dependencies from xenial repository'
# updated gettext requires libgomp1 gcc-5-base
apt-get install -y -q -t xenial libminizip-dev gettext libgomp1 gcc-5-base
else
echo 'Installing libminizip-dev dependency'
apt-get install -q -y libminizip-dev
fi
#EOF