First travis.yml for oauth2client.
This adds a simple `.travis.yml` with support for python 2.6, 2.7, and pypy, and compacts a few lines in `tox.ini`.
This commit is contained in:
13
.travis.yml
Normal file
13
.travis.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
language: python
|
||||||
|
python: 2.7
|
||||||
|
env:
|
||||||
|
- TOX_ENV=py26
|
||||||
|
- TOX_ENV=py27
|
||||||
|
- TOX_ENV=pypy
|
||||||
|
install:
|
||||||
|
- pip install tox
|
||||||
|
- pip install .
|
||||||
|
script:
|
||||||
|
- tox -e $TOX_ENV
|
||||||
|
notifications:
|
||||||
|
- email: false
|
||||||
5
tox.ini
5
tox.ini
@@ -10,9 +10,4 @@ deps = keyring
|
|||||||
webtest
|
webtest
|
||||||
nose
|
nose
|
||||||
setenv = PYTHONPATH=../google_appengine
|
setenv = PYTHONPATH=../google_appengine
|
||||||
|
|
||||||
[testenv:py26]
|
|
||||||
commands = nosetests --ignore-files=test_appengine\.py
|
|
||||||
|
|
||||||
[testenv:py27]
|
|
||||||
commands = nosetests --ignore-files=test_appengine\.py
|
commands = nosetests --ignore-files=test_appengine\.py
|
||||||
|
|||||||
Reference in New Issue
Block a user