diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..51cbe85 --- /dev/null +++ b/.gitignore @@ -0,0 +1,54 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +bin/ +build/ +develop-eggs/ +dist/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# Rope +.ropeproject + +# Django stuff: +*.log +*.pot + +# Sphinx documentation +docs/_build/ + diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c0ec53f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,27 @@ +language: python + +python: + - 2.6 + - 2.7 + - 3.2 + - 3.3 + - 3.4 + - pypy + +script: + - python setup.py install + - coverage run --source=spotipy.py tests/tests.py + +after_success: + - coverage report + - coveralls + - pip install pep8 pyflakes + - pep8 PIL/*.py + - pyflakes PIL/*.py + +matrix: + allow_failures: + - python: 2.6 + - python: 3.2 + - python: 3.4 + - python: pypy