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
33 lines (26 loc) · 750 Bytes
/
Copy path.travis.yml
File metadata and controls
33 lines (26 loc) · 750 Bytes
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
# https://travis-ci.org/ryanss/python-holidays
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
env:
- DATEUTIL=python-dateutil==2.2
- DATEUTIL=python-dateutil
install:
- pip install $DATEUTIL
- python setup.py install
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install flake8==2.6.2; fi
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pip install flake8; fi
- pip install coveralls
before_script:
- flake8 holidays.py tests.py
script:
- if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then coverage run --omit=*site-packages*,*pypy* tests.py; else python tests.py; fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then coveralls; fi