Add Slovenian national holidays
Added Slovenian national holidays that are work free
Fixed formatting according to PEP8
Updated README file
@@ -5,12 +5,12 @@ language: python
python:
- 2.6
- 2.7
- - 3.2
- 3.3
- 3.4
- 3.5
- pypy
- - pypy3
+ - pypy3.3-5.2-alpha1 # Python 3.3
+ - pypy3.5-5.8.0 # Python 3.5
env:
- DATEUTIL=python-dateutil==2.2
@@ -19,15 +19,15 @@ env:
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 "flake8==2.6.2; python_version == '2.6'"
+ - pip install "flake8; python_version > '2.6'"
- 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
+ - coverage run --omit=*site-packages*,*pypy* tests.py
after_success:
- - if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then coveralls; fi
+ - coveralls
