gnucash/.travis.yml
Geert Janssens c1324304ca Use Ubuntu 16.04 as oldest testbed on travis
This needed a few tweaks to the docker file worth mentioning:
- tzdata is not installed by default, resulting in test-gnc-timezone to fail
- there were a couple of debconf warnings
  * missing apt-utils package => added it to the list
  * no interactive terminal for autoremove => forced non-interactive mode
- in addition I have made building the docker file more verbose in order
  to catch such issues more easily in the future. If this turns out to be
  too distracting I can undo that part again.
2019-06-12 15:17:29 +02:00

17 lines
460 B
YAML

# Test
sudo: required
language: c++
compiler: gcc
env:
- BUILDENV=arch BUILDTYPE=cmake-ninja
- BUILDENV=ubuntu-16.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