blob: 2046e3bf92db7e0b6acc8dd2a4a48ab6ae0bdb5d (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
language: python
stages:
- prechecks
- tests-cpython
- tests-pypy
# 3.5-dev because of http://bugs.python.org/issue25131
jobs:
include:
- stage: prechecks
python: 3.5
env: TOXENV=pylint
- 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
- 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
|