12 - IMAGE=debian:stretch
13 - UPDATE_CMD="apt-get update"
14 - UPGRADE_CMD="apt-get full-upgrade -y"
15 - INSTALL_CMD="apt-get install -y autoconf automake libtool autopoint
16 gettext pkg-config cmake make g++ libglib2.0-dev libpurple-dev
17 libsigc++-2.0-dev libncursesw5-dev python3"
20 - echo "Starting run ${IMAGE}"
21 - docker run -d --name ${NAME} -v $(pwd):/travis ${IMAGE} tail -f /dev/null
24 - docker exec -t ${NAME} bash -c "${UPDATE_CMD}"
25 - docker exec -t ${NAME} bash -c "${UPGRADE_CMD}"
26 - docker exec -t ${NAME} bash -c "${INSTALL_CMD}"
29 # Check the autotools build.
30 - docker exec -t ${NAME} bash -c "cd /travis;
31 ./bootstrap && ./configure && make distcheck"