qutebrowser/.travis.yml

103 lines
2.1 KiB
YAML
Raw Normal View History

dist: xenial
language: python
2017-06-19 18:15:35 +02:00
group: edge
2019-02-25 11:22:59 +01:00
python: 3.7
2018-11-27 17:39:52 +01:00
os: linux
2015-06-09 17:20:21 +02:00
2016-03-15 19:03:50 +01:00
matrix:
2019-02-17 21:41:56 +01:00
fast_finish: true
2016-03-15 19:03:50 +01:00
include:
2019-02-17 21:01:53 +01:00
### Archlinux QtWebKit
2018-11-27 17:39:52 +01:00
- env: DOCKER=archlinux
2016-03-15 19:23:49 +01:00
services: docker
2019-02-17 21:01:53 +01:00
### Archlinux QtWebEngine
2018-11-27 17:39:52 +01:00
- env: DOCKER=archlinux-webengine QUTE_BDD_WEBENGINE=true
services: docker
2019-02-17 21:01:53 +01:00
### PyQt 5.7.1 (Python 3.5)
2018-11-27 17:39:52 +01:00
- python: 3.5
env: TESTENV=py35-pyqt571
2019-02-25 11:22:59 +01:00
### PyQt 5.7.1 (Python 3.6)
- python: 3.6
env: TESTENV=py36-pyqt571
2019-02-17 21:01:53 +01:00
### PyQt 5.9
2019-02-25 11:22:59 +01:00
- env: TESTENV=py37-pyqt59
2019-02-17 21:01:53 +01:00
### PyQt 5.10
2019-02-25 11:22:59 +01:00
- env: TESTENV=py37-pyqt510
addons:
apt:
packages:
- xfonts-base
2019-02-17 21:01:53 +01:00
2019-02-25 10:36:08 +01:00
### PyQt 5.11
2019-02-25 11:22:59 +01:00
- env: TESTENV=py37-pyqt511
2019-02-25 10:36:08 +01:00
### PyQt 5.12 (Python 3.7, with coverage)
- env: TESTENV=py37-pyqt512-cov
2019-03-06 15:17:57 +01:00
# http://code.qt.io/cgit/qt/qtbase.git/commit/?id=c3a963da1f9e7b1d37e63eedded61da4fbdaaf9a
addons:
apt:
packages:
- libxkbcommon-x11-0
2019-02-17 21:01:53 +01:00
### macOS sierra
2016-03-15 19:03:50 +01:00
- os: osx
2019-02-25 10:36:08 +01:00
env: TESTENV=py37-pyqt512 OSX=sierra
2017-12-11 09:36:27 +01:00
osx_image: xcode9.2
2017-09-10 15:14:17 +02:00
language: generic
2019-02-17 21:01:53 +01:00
### macOS yosemite
2017-02-05 00:13:11 +01:00
# https://github.com/qutebrowser/qutebrowser/issues/2013
# - os: osx
# env: TESTENV=py35 OSX=yosemite
# osx_image: xcode6.4
2019-02-17 21:01:53 +01:00
### pylint/flake8/mypy
2018-11-27 17:39:52 +01:00
- env: TESTENV=pylint
- env: TESTENV=flake8
- env: TESTENV=mypy
2019-02-17 21:01:53 +01:00
### docs
2018-11-27 17:39:52 +01:00
- env: TESTENV=docs
2017-09-10 01:44:53 +02:00
addons:
apt:
packages:
- asciidoc
2019-02-17 21:01:53 +01:00
### vulture/misc/pyroma/check-manifest
2018-11-27 17:39:52 +01:00
- env: TESTENV=vulture
- env: TESTENV=misc
- env: TESTENV=pyroma
- env: TESTENV=check-manifest
2019-02-17 21:01:53 +01:00
### eslint
2018-11-27 17:39:52 +01:00
- env: TESTENV=eslint
2017-09-10 01:44:53 +02:00
language: node_js
python: null
node_js: "lts/*"
2019-02-17 21:01:53 +01:00
### shellcheck
2018-11-27 17:39:52 +01:00
- language: generic
2017-12-02 19:22:14 +01:00
env: TESTENV=shellcheck
services: docker
2019-02-17 21:01:53 +01:00
2015-07-14 07:17:36 +02:00
cache:
directories:
- $HOME/.cache/pip
- $HOME/build/qutebrowser/qutebrowser/.cache
2015-07-14 07:17:36 +02:00
2015-06-09 17:20:21 +02:00
install:
- bash scripts/dev/ci/travis_install.sh
2017-03-05 17:29:22 +01:00
- ulimit -c unlimited
2015-06-09 17:20:21 +02:00
script:
2016-03-15 19:23:49 +01:00
- bash scripts/dev/ci/travis_run.sh
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
2017-03-05 17:29:22 +01:00
after_failure:
- bash scripts/dev/ci/travis_backtrace.sh