third_party.pylibs.pylint.src/.travis.yml
Claudiu Popa a83ef077d3 Separate pyenchant into a separate step
pyenchant is no longer maintained and doesn't seem to install correctly on all systems.
But it is installable on Travis, so instead we separated that from the main test suite in order
to run it in its own step.

Close #1900
2018-09-29 10:30:45 +02:00

62 lines
1.3 KiB
YAML

language: python
stages:
- prechecks
- tests-cpython
- tests-pypy
# 3.5-dev because of http://bugs.python.org/issue25131
jobs:
include:
- stage: prechecks
python: 3.6
env: TOXENV=pylint
- python: 3.6
env: TOXENV=docs
- python: 3.6
env: TOXENV=formatting
- python: 3.6
env: TOXENV=mypy
- stage: tests-cpython
python: 3.4
env: TOXENV=py34
- python: 3.5-dev
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial
- python: 3.6
env: TOXENV=spelling
- stage: tests-pypy
python: pypy3.5-5.8.0
env: TOXENV=pypy
before_install:
- python --version
- uname -a
- lsb_release -a
- sudo apt-get -qq update
- sudo apt-get install -y enchant
install:
- pip install -U setuptools
- pip install tox coverage coveralls
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
- coverage --version
script:
# Test install with current version of setuptools
- pip install .
- tox -e coverage-erase,$TOXENV
after_success:
- tox -e coveralls
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: always
on_failure: always