2015-04-03 08:19:28 -05:00
|
|
|
# Test
|
2015-11-04 14:38:07 -06:00
|
|
|
language: c++
|
2017-09-06 12:23:59 -05:00
|
|
|
compiler: gcc
|
2017-09-02 04:05:30 -05:00
|
|
|
env:
|
2017-09-06 12:23:59 -05:00
|
|
|
- BUILDENV=arch BUILDTYPE=cmake-ninja
|
2019-09-06 14:54:30 -05:00
|
|
|
- BUILDENV=ubuntu-18.04 BUILDTYPE=cmake-make
|
2017-09-06 12:23:59 -05:00
|
|
|
services:
|
|
|
|
- docker
|
2015-11-04 14:38:07 -06:00
|
|
|
install:
|
2017-09-06 12:23:59 -05:00
|
|
|
- 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
|