qutebrowser/.travis.yml

71 lines
1.4 KiB
YAML
Raw Normal View History

2015-09-24 08:47:54 +02:00
# So we get Ubuntu Trusty - using "dist: trusty" breaks OS X.
sudo: required
dist: trusty
2015-06-09 17:20:21 +02:00
2015-06-11 16:36:58 +02:00
os:
- linux
- osx
2015-10-05 22:43:01 +02:00
env:
global:
- PATH=/home/travis/bin:/home/travis/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
matrix:
- TESTENV=py35
- TESTENV=py34-cov
2015-10-05 22:43:01 +02:00
- TESTENV=unittests-nodisp
- TESTENV=misc
2015-10-05 23:27:19 +02:00
- TESTENV=vulture
- TESTENV=pydocstyle
2016-01-21 18:11:31 +01:00
- TESTENV=flake8
2015-10-05 22:43:01 +02:00
- TESTENV=pyroma
- TESTENV=check-manifest
- TESTENV=pylint
2015-10-06 06:44:03 +02:00
- TESTENV=eslint
2015-10-05 22:43:01 +02:00
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-06-09 17:20:21 +02:00
install:
- python scripts/dev/ci_install.py
2015-06-09 17:20:21 +02:00
script:
- tox -e $TESTENV -- -v --cov-report term tests
2015-10-05 22:43:01 +02:00
2015-10-21 19:16:49 +02:00
after_success:
- '[[ $TESTENV == *-cov ]] && codecov -e TESTENV -X gcov'
2015-10-21 19:16:49 +02:00
2015-10-05 22:43:01 +02:00
matrix:
exclude:
- os: linux
env: TESTENV=py35
- os: osx
env: TESTENV=py34-cov
2015-10-05 22:43:01 +02:00
- os: osx
env: TESTENV=unittests-nodisp
- os: osx
env: TESTENV=misc
2015-10-05 23:27:19 +02:00
- os: osx
env: TESTENV=vulture
2015-10-05 22:43:01 +02:00
- os: osx
env: TESTENV=pydocstyle
2015-10-05 22:43:01 +02:00
- os: osx
2016-01-21 18:11:31 +01:00
env: TESTENV=flake8
2015-10-05 22:43:01 +02:00
- os: osx
env: TESTENV=pyroma
- os: osx
env: TESTENV=check-manifest
- os: osx
env: TESTENV=pylint
2015-10-06 06:44:03 +02:00
- os: osx
env: TESTENV=eslint
2015-11-30 07:37:04 +01:00
notifications:
webhooks:
- https://buildtimetrend.herokuapp.com/travis