forked from miso-belica/jusText
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (59 loc) · 1.39 KB
/
.travis.yml
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
55
56
57
58
59
60
61
62
63
64
language: python
os: linux
cache: pip
matrix:
include:
- name: "Python 2.7 on Linux"
python: 2.7
- name: "Python 3.4 on Linux"
python: 3.4
- name: "Python 3.5 on Linux"
python: 3.5
- name: "Python 3.6 on Linux"
python: 3.6
- name: "Python 3.7 on Linux"
python: 3.7
- name: "Python 3.8 on Linux"
dist: xenial
python: 3.8
- name: "Python 3.9 Nightly on Linux"
dist: bionic
python: nightly
- name: "Pypy 3 on Linux"
python: pypy3
- name: "Python 3 on older macOS"
os: osx
osx_image: xcode9.4
language: shell
before_install:
- sw_vers
- python3 --version
- pip3 --version
- name: "Python 3 on macOS"
os: osx
osx_image: xcode11
language: shell
before_install:
- sw_vers
- python3 --version
- pip3 --version
allow_failures:
- python: nightly
- python: pypy3
- os: osx
before_install:
- sudo apt-get install libxml2-dev libxslt-dev
- python --version
- virtualenv --version
- pip --version
- uname -a
- lsb_release -a
install:
- python setup.py install
# pinned dependency for backwards compatibility
- pip install "pytest==4.6.9" # pytest 4.6.X works best for older Python versions
- pip install -U codecov 'coverage==4.5.4' pytest-cov
script:
- py.test tests/
after_success:
- codecov