2014-04-05 18:19:24 +00:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- 2.6
|
|
|
|
- 2.7
|
|
|
|
- 3.2
|
|
|
|
- 3.3
|
|
|
|
- 3.4
|
|
|
|
- pypy
|
|
|
|
|
2014-04-05 18:27:09 +00:00
|
|
|
install:
|
|
|
|
- pip install coveralls
|
|
|
|
|
2014-04-05 18:19:24 +00:00
|
|
|
script:
|
|
|
|
- python setup.py install
|
2014-04-05 18:44:15 +00:00
|
|
|
- coverage run --include=*spotipy* tests/tests.py
|
2014-04-05 19:00:47 +00:00
|
|
|
- for file in examples/*.py; do python $file; done
|
2014-04-05 18:19:24 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coverage report
|
|
|
|
- coveralls
|
|
|
|
- pip install pep8 pyflakes
|
2014-04-05 18:34:16 +00:00
|
|
|
- pep8 *.py tests/*.py
|
|
|
|
- pyflakes *.py tests/*.py
|
2014-04-05 18:19:24 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- python: 3.2
|
|
|
|
- python: 3.4
|