forked from vacanza/holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
57 lines (50 loc) · 1.22 KB
/
.travis.yml
File metadata and controls
57 lines (50 loc) · 1.22 KB
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
# https://travis-ci.org/dr-prodigy/python-holidays
dist: bionic
language: python
python:
- '3.8'
- '3.7'
- '3.6'
- '3.5'
- '2.7'
# temporarily commented due to TravisCI issues
# - pypy
# - pypy3
jobs:
# hijri-converter not available < python 3.6
include:
- python: '3.8'
install:
- pip install hijri-converter
- pip install python-dateutil
- python setup.py install
- pip install flake8
- pip install coveralls
- python: '3.7'
install:
- pip install hijri-converter
- pip install python-dateutil
- python setup.py install
- pip install flake8
- pip install coveralls
- python: '3.6'
install:
- pip install hijri-converter
- pip install python-dateutil
- python setup.py install
- pip install flake8
- pip install coveralls
env:
- DATEUTIL=python-dateutil
- DATEUTIL=python-dateutil==2.7.0
install:
- pip install $DATEUTIL
- python setup.py install
- pip install flake8
- pip install coveralls
before_script:
- flake8 holidays.py tests.py
script:
- coverage run --omit=*site-packages*,*pypy* tests.py
after_success:
- coveralls