add .travis.yml test

This commit is contained in:
Ricter Z 2016-05-02 15:43:59 +08:00
parent 73849e0d10
commit 75bc897df2
2 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,4 +3,5 @@
build
dist/
*.egg-info
.python-version

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
os:
- linux
- os x
language: python
python:
- 2.7
- 2.6
install:
- python setup.py install
script:
- nhentai --search umaru
- nhentai --ids=152503,146134 -t 10 --download --path=/tmp/