forked from vacanza/holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 978 Bytes
/
.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
# https://travis-ci.org/dr-prodigy/python-holidays
dist: bionic
language: python
cache: pip
before_install:
- pip install --upgrade pip
install:
# hijri-converter not available < python 3.6
# use Python 3.9 to test missing hijri-converter
# $TRAVIS_PYTHON_VERSION == '3.9' ||
- if [[
$TRAVIS_PYTHON_VERSION == '3.8' ||
$TRAVIS_PYTHON_VERSION == '3.7' ||
$TRAVIS_PYTHON_VERSION == '3.6' ||
$TRAVIS_PYTHON_VERSION == 'pypy3'
]]; then pip install hijri-converter; fi
- pip install python-dateutil
- pip install "convertdate<=2.2.0"
- pip install korean_lunar_calendar
- pip install six
- pip install flake8
- pip install coveralls
- python setup.py install
matrix:
include:
- python: '3.9'
- python: '3.8'
- python: '3.7'
- python: '3.6'
- python: '2.7'
- python: 'pypy3'
before_script:
- flake8
script:
- coverage run --omit=*site-packages*,*pypy* tests.py
after_success:
- coveralls