Skip to content

Commit

Permalink
Merge pull request #17 from sananth12/travis-branch
Browse files Browse the repository at this point in the history
Travis branch
  • Loading branch information
sananth12 committed Feb 21, 2015
2 parents 77bd52a + 384f65a commit 42ac0f5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
language: python
python:
- "2.6"
- "2.7"
# command to install dependencies
#install: pip install -r requirements.txt --use-mirrors
install:
- "pip install ImageScraper"
- "pip install coveralls --use-mirrors"
script: "coverage run --source=image_scraper setup.py test"
after_success: "coveralls"
- pip install ImageScraper
# command to run tests
script:
- nosetests
#after_success:
# coveralls
notifications:
email: false
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@

from setuptools import setup
try:
from setuptools import setup
except ImportError:
from distutils.core import setup

setup(name='ImageScraper',
version='2.0.5',
version='2.0.5',
install_requires=['lxml', 'requests'],
author='Anantha Natarajan S',
author_email='sananthanatarajan12@gmail.com',
Expand All @@ -21,6 +24,6 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Utilities',
'Topic :: Utilities'
],
)
Binary file modified tests/test.pyc
Binary file not shown.

0 comments on commit 42ac0f5

Please sign in to comment.