# So we get Ubuntu Trusty - using "dist: trusty" breaks OS X. services: docker os: - linux - osx # Not really, but this is here so we can do stuff by hand. language: c cache: directories: - $HOME/.cache/pip - $HOME/build/The-Compiler/qutebrowser/.cache env: - PATH=/home/travis/bin:/home/travis/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin install: - python scripts/dev/ci_install.py script: - '[[ $TRAVIS_OS_NAME == osx ]] && tox -e py35 || true' - '[[ $TRAVIS_OS_NAME == linux ]] && xvfb-run -s "-screen 0 640x480x16" tox -e py34 || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e unittests-nodisp || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e misc || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pep257 || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pyflakes || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pep8 || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e mccabe || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pyroma || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e check-manifest || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pylint || true'