qutebrowser/.travis.yml
2015-10-06 07:10:32 +02:00

34 lines
1.1 KiB
YAML

# 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:
- xvfb-run -s "-screen 0 640x480x16" tox -e py34
- '[[ $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'