[CI] Attempt to fix more quoting problems
[centerim5.git] / .travis.yml
blob96363da4b1671cf059751180d0a2ba419cf200a5
1 language: cpp
2 sudo: required
4 services:
5   - docker
7 matrix:
8   include:
9     - env:
10       # Debian 9 (stretch).
11       - NAME=debian
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"
18 before_install:
19   - echo "Starting run ${IMAGE}"
20   - docker run -d --name ${NAME} -v $(pwd):/travis ${IMAGE} tail -f /dev/null
22 install:
23   - docker exec -t ${NAME} bash -c "${INSTALL_UPDATE_CMD}"
24   - docker exec -t ${NAME} bash -c "${INSTALL_CMD}"
26 script:
27   # Check the autotools build.
28   - docker exec -t ${NAME} bash -c "cd /travis;
29       ./bootstrap && ./configure && make distcheck"