docker: Also run on Ubuntu Wily on Travis

This commit is contained in:
Florian Bruhin 2016-03-15 21:39:30 +01:00
parent b19da05097
commit 0bc31e5373
2 changed files with 28 additions and 0 deletions

View File

@ -18,6 +18,9 @@ matrix:
- os: linux - os: linux
env: DOCKER=archlinux env: DOCKER=archlinux
services: docker services: docker
- os: linux
env: DOCKER=ubuntu-wily
services: docker
- os: osx - os: osx
env: TESTENV=py35 env: TESTENV=py35
- os: linux - os: linux

View File

@ -0,0 +1,25 @@
FROM ubuntu:wily
MAINTAINER Florian Bruhin <me@the-compiler.org>
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && \
apt-get -y dist-upgrade && \
apt-get -y install python3-pyqt5 python3-pyqt5.qtwebkit python-tox \
python3-sip xvfb git python3-setuptools wget \
herbstluftwm language-pack-en
RUN useradd user && mkdir /home/user && chown -R user:users /home/user
USER user
WORKDIR /home/user
ENV DISPLAY=:0
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
CMD Xvfb -screen 0 800x600x24 :0 & \
sleep 2 && \
herbstluftwm & \
git clone /outside qutebrowser.git && \
cd qutebrowser.git && \
tox -e py34