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:
@ -2,11 +2,14 @@
|
||||
|
||||
set -e
|
||||
|
||||
BASENAME=$1
|
||||
DOCKERFILE=$2
|
||||
|
||||
# .dockerignore is created on demand so that release.sh and other scripts are
|
||||
# not influenced by our travis setup.
|
||||
echo .git > .dockerignore
|
||||
|
||||
docker build --pull --no-cache --rm -t=${BASENAME} -f travis-build.Dockerfile .
|
||||
docker build --pull --no-cache --rm -t=${BASENAME} -f ${DOCKERFILE} .
|
||||
# For pull requests, travis does not add secure environment variables to the
|
||||
# environment (because pull requests could then steal their values), so skip
|
||||
# the login+push step when the variable isn’t set.
|
||||
|
Reference in New Issue
Block a user