summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: f142e263bf561aa280734529bd8de8d66e0e7641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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,py34-integration
    - '[[ $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'