mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 13:39:43 -06:00
c1324304ca
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.
17 lines
460 B
YAML
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
|