travis: fix mk-build-deps call by providing changelog file

mk-build-deps started using the changelog file to get the version number, but a
bug prevents it from falling back correctly to 1.0 if no changelog is
present. This has been fixed upstream in
4b15abd4f0,
but we can just ship the changelog file until that fix lands.
next
Michael Stapelberg 2018-10-15 08:40:00 +02:00
parent 565d38c5af
commit 40bf2192f0
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ RUN apt-get update && \
# Install i3 build dependencies.
COPY debian/control /usr/src/i3-debian-packaging/control
COPY debian/changelog /usr/src/i3-debian-packaging/changelog
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
rm -rf /var/lib/apt/lists/*