chore(tests): Also run tests on Python 2.6

This commit is contained in:
Adrien Vergé
2017-07-04 22:07:32 +02:00
parent 7a8cfeed6d
commit 1a961bd4b0
8 changed files with 41 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
---
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
@@ -9,9 +10,10 @@ python:
- nightly
install:
- pip install pyyaml flake8 flake8-import-order coveralls
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
- pip install .
script:
- flake8 .
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then flake8 .; fi
- yamllint --strict $(git ls-files '*.yaml' '*.yml')
- coverage run --source=yamllint setup.py test
after_success: