Commit c18354a2 authored by Gert Wollny's avatar Gert Wollny
Browse files

d/.gitlab-ci.yml: Add CI

parent d4932b20
Loading
Loading
Loading
Loading
Loading

debian/.gitlab-ci.yml

0 → 100644
+15 −0
Original line number Diff line number Diff line
image: debian:sid

build:
  stage: build
  before_script:
    - apt-get update && apt-get -y install devscripts git-buildpackage 
    - mk-build-deps --tool "apt -y -o Debug::pkgProblemResolver=yes --no-install-recommends" --install -r debian/control 
  script:
    - git checkout pristine-tar 
    - git pull 
    - git checkout master
    - git pull 
    # silence build to not exceed build log size of gitlab-ci
    - gbp buildpackage -uc -us 2>&1 >../build.log ||  tail -n 100 ../build.log && exit 1