Update .travis.yml
This commit is contained in:
parent
e88f8759e7
commit
27c33911e6
@ -1,8 +1,6 @@
|
||||
# http://travis-ci.org/#!/MongoEngine/mongoengine
|
||||
language: python
|
||||
services: mongodb
|
||||
before_install:
|
||||
- "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin"
|
||||
python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
@ -34,7 +32,7 @@ install:
|
||||
- if [[ $DJANGO != 'dev' ]]; then pip install Django==$DJANGO; fi
|
||||
- pip install https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.1.tar.gz#md5=1534bb15cf311f07afaa3aacba1c028b
|
||||
- python setup.py install
|
||||
|
||||
before_script: "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin"
|
||||
script:
|
||||
- python setup.py test
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]]; then 2to3 . -w; fi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user