Remove old CI system configurations

This commit is contained in:
Tim Angus 2020-08-29 21:40:20 +01:00
parent 19172e1cd2
commit 71cfe5f442
3 changed files with 0 additions and 116 deletions

View file

@ -1,48 +0,0 @@
# sudo is required for travis-ci to use ubuntu trusty
# ubuntu trusty is required for libsdl2-dev
sudo: required
dist: trusty
language: c
env:
global:
# coverity token
- secure: "a2pGsG/+LS12sD/vgCF912TKBDDiT8PwRTH50eE94trQoHmD+bubIc4mXR9rSuU/NKNPdn6KZlqrVkVuoIanjYaf+rg28VavGMcBrtVO2cI1yjTUxb5Eq/cT20m3KfZCSFw3iWXfiK1CpDkm9Pdrr2Yz99EGZse3Y6jRGJ6giWM="
matrix:
# standard builds
- CC=gcc
- CC=clang
# extra libs
- CC=gcc USE_FREETYPE=1
- CC=clang USE_FREETYPE=1
# cross-compile using mingw
# dlopen curl to workaround link error because mingw-w64 in trusty is missing strtok_r required by libcurl.a
- CC= PLATFORM="mingw32" ARCH="x86" USE_CURL_DLOPEN=1
- CC= PLATFORM="mingw32" ARCH="x86_64" USE_CURL_DLOPEN=1
script: ./travis-ci-build.sh
notifications:
email: false
addons:
apt:
packages:
- binutils-mingw-w64-i686
- gcc-mingw-w64-i686
- binutils-mingw-w64-x86-64
- gcc-mingw-w64-x86-64
- gcc-mingw-w64
- mingw-w64
- libgl1-mesa-dev
- libsdl2-dev
- libfreetype6-dev
coverity_scan:
project:
name: "ioquake/ioq3"
description: "Build submitted via Travis CI"
notification_email: quake3-commits@icculus.org
build_command_prepend: "make clean"
build_command: "make release"
branch_pattern: coverity_scan

View file

@ -1,53 +0,0 @@
#!/bin/bash
UNAME=`uname`
MASTER_DIR=`dirname $0`
BUILD_DEFAULT="release"
cd ${MASTER_DIR}
if [ "${OPTIONS}" == "all_options" ];
then
export USE_FREETYPE=1
fi
if [ "$UNAME" == "Darwin" ]; then
CORES=`sysctl -n hw.ncpu`
elif [ "$UNAME" == "Linux" ]; then
CORES=`awk '/^processor/ { N++} END { print N }' /proc/cpuinfo`
fi
echo "platform : ${UNAME}"
echo "cores : ${CORES}"
if [ "${BUILD_TYPE}" == "" ]; then
BUILD_TYPE="${BUILD_DEFAULT}"
echo "build type : defaulting to ${BUILD_TYPE}"
else
echo "build type : ${BUILD_TYPE}"
fi
echo "environment :"
export
if [ -n "${CPPCHECK}" ]; then
if [ ! -f "${CPPCHECK}" ]; then
command -v cppcheck >/dev/null
if [ "$?" != "0" ]; then
echo "cppcheck not installed"
exit 1
fi
cppcheck --enable=all --max-configs=1 --xml --xml-version=2 code 2> ${CPPCHECK}
fi
ln -sf ${CPPCHECK} cppcheck.xml
fi
# Bit of a hack; only run scan-build with clang and all options enabled
if [ "${CC}" == "clang" ] && [ "${OPTIONS}" == "all_options" ]; then
MAKE_PREFIX="scan-build"
fi
${MAKE_PREFIX} make -j${CORES} distclean ${BUILD_TYPE}
exit $?

View file

@ -1,15 +0,0 @@
#!/bin/sh
failed=0;
# Default Build
(make clean release) || failed=1;
if [ $failed -eq 1 ]; then
echo "Build failure.";
else
echo "Build successful.";
fi
exit $failed;