From e4c66401c1b4a577765419724de1e50959009320 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sat, 5 Apr 2014 21:19:24 +0300 Subject: [PATCH] Add Travis CI and .gitignore --- .gitignore | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 .gitignore create mode 100644 .travis.yml 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