travis: build debian packages and documentation
The resulting packages are pushed to Debian repositories hosted on bintray.com. This is the first step to move away from our custom buildbot setup (see https://i3wm.org/docs/buildbot.html for details on that) towards infrastructure which is more standard (travis) and in the open.
This commit is contained in:
15
travis/debian-build.sh
Executable file
15
travis/debian-build.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
DEST=$1
|
||||
|
||||
make dist
|
||||
# unpack dist tarball
|
||||
mkdir -p "${DEST}"
|
||||
tar xf *.tar.bz2 -C "${DEST}" --strip-components=1
|
||||
cp -r debian "${DEST}"
|
||||
cd "${DEST}"
|
||||
debchange -m -l+g$(git describe --tags) 'Automatically built'
|
||||
dpkg-buildpackage -b
|
Reference in New Issue
Block a user