Remove Travis CI.

It has become unreliable and will cease providing free access soon.
pull/840/head
John Ralls 6 years ago
parent c2ba88d91d
commit 3a323ec59f

@ -1,15 +0,0 @@
# Test
language: c++
compiler: gcc
env:
- BUILDENV=arch BUILDTYPE=cmake-ninja
- BUILDENV=ubuntu-18.04 BUILDTYPE=cmake-make
services:
- docker
install:
- docker --version
- echo BUILDENV="$BUILDENV"
- docker build -f util/ci/${BUILDENV}-docker -t ${BUILDENV}-gnucashbuild util/ci
script:
- echo BUILDTYPE="$BUILDTYPE"
- docker run -v "$(pwd)":/gnucash:rw --env="BUILDTYPE=$BUILDTYPE" --rm ${BUILDENV}-gnucashbuild

@ -1,13 +0,0 @@
#!/bin/bash
if [[ -d "/build/Testing" ]] ; then
echo
echo "##################################################"
echo "##### Rerunning failed tests in verbose mode #####"
echo "##################################################"
ctest -V --rerun-failed
else
echo "Not rerunning tests. ctest hasn't run yet."
fi
# This script should fail so that the entire script will fail.
exit 1

@ -1,9 +0,0 @@
from archlinux/base
run pacman -Syu --quiet --noconfirm gcc cmake make boost python2 pkg-config gettext guile git ninja gtest gmock sqlite3 webkit2gtk swig gwenhywfar aqbanking intltool libxslt postgresql-libs libmariadbclient libdbi libdbi-drivers > /dev/null
run echo en_US.UTF-8 UTF-8 >> /etc/locale.gen
run echo en_GB.UTF-8 UTF-8 >> /etc/locale.gen
run echo fr_FR.UTF-8 UTF-8 >> /etc/locale.gen
run locale-gen
copy arch-testscript commonbuild /
run chmod +x /arch-testscript /commonbuild
entrypoint /arch-testscript

@ -1,9 +0,0 @@
#!/bin/bash -le
#-l above (login shell) so that /etc/profile runs so that perl is
# on the path.
#-e so that if any command has an exit code != 0, this script will
# exit immediately.
../commonbuild

@ -1,21 +0,0 @@
#!/bin/bash -e
mkdir -p "$HOME"/.local/share
mkdir build
cd build
export TZ="America/Los_Angeles"
export CTEST_OUTPUT_ON_FAILURE=On
if [[ "$BUILDTYPE" == "cmake-make" ]]; then
cmake ../gnucash $PLATFORM_CMAKE_OPTS
make -j 4
make check
elif [[ "$BUILDTYPE" == "cmake-ninja" ]]; then
cmake ../gnucash -DWITH_PYTHON=ON -DCMAKE_BUILD_TYPE=debug -G Ninja $PLATFORM_CMAKE_OPTS
ninja
ninja check
else
echo "Unknown buildtype: \"$BUILDTYPE\". Not building."
fi

@ -1,18 +0,0 @@
from ubuntu:18.04
# Travis' ubuntu docker images don't have any package sources enabled by default
# So start by enabling what we need
run sed -i"" "s/^# deb-src/deb-src/" /etc/apt/sources.list
run apt-get update -y
# Note all apt-get commands will be run with DEBIAN_FRONTEND=noninteractive
# to silence a bunch of warnings
# See https://stackoverflow.com/questions/22466255/is-it-possible-to-answer-dialog-questions-when-installing-under-docker for details
# And install apt-utils to silence another set of warnings
# See https://github.com/phusion/baseimage-docker/issues/319 for a similar discussion
run DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends apt-utils
run DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
run DEBIAN_FRONTEND=noninteractive apt-get build-dep -y gnucash
run DEBIAN_FRONTEND=noninteractive apt-get install -y git bash-completion cmake make swig xsltproc libdbd-sqlite3 texinfo ninja-build libboost-all-dev libgtk-3-dev libgwengui-gtk3-dev libwebkit2gtk-4.0-dev tzdata googletest
run DEBIAN_FRONTEND=noninteractive apt-get --reinstall install -y language-pack-en language-pack-fr
copy ubuntu-18.04-testscript afterfailure commonbuild /
run chmod +x /ubuntu-18.04-testscript /afterfailure /commonbuild
entrypoint /ubuntu-18.04-testscript

@ -1,6 +0,0 @@
#!/bin/bash -e
# -e above so that if any command has an exit code != 0, this script will
# exit immediately.
../commonbuild
Loading…
Cancel
Save