2015-09-24 08:47:54 +02:00
|
|
|
# So we get Ubuntu Trusty - using "dist: trusty" breaks OS X.
|
|
|
|
services: docker
|
2015-06-09 17:20:21 +02:00
|
|
|
|
2015-06-11 16:36:58 +02:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2015-06-09 17:20:21 +02:00
|
|
|
# Not really, but this is here so we can do stuff by hand.
|
|
|
|
language: c
|
|
|
|
|
2015-07-14 07:17:36 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
- $HOME/build/The-Compiler/qutebrowser/.cache
|
|
|
|
|
2015-09-15 13:19:51 +02:00
|
|
|
env:
|
|
|
|
- PATH=/home/travis/bin:/home/travis/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
|
|
|
|
|
2015-06-09 17:20:21 +02:00
|
|
|
install:
|
2015-06-28 22:31:30 +02:00
|
|
|
- python scripts/dev/ci_install.py
|
2015-06-09 17:20:21 +02:00
|
|
|
|
|
|
|
script:
|
2015-10-05 21:39:56 +02:00
|
|
|
- '[[ $TRAVIS_OS_NAME == osx ]] && tox -e py35 || true'
|
|
|
|
- '[[ $TRAVIS_OS_NAME == linux ]] && xvfb-run -s "-screen 0 640x480x16" tox -e py34 || true'
|
2015-09-28 22:36:03 +02:00
|
|
|
- '[[ $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'
|