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