Updated travis.yml - now testing multiple pymongos
This commit is contained in:
		| @@ -6,10 +6,17 @@ python: | ||||
|     - 2.7 | ||||
|     - 3.1 | ||||
|     - 3.2 | ||||
| env: | ||||
|   - PYMONGO=dev | ||||
|   - PYMONGO=2.3 | ||||
|   - PYMONGO=2.2 | ||||
| install: | ||||
|     - if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then sudo apt-get install zlib1g zlib1g-dev; fi | ||||
|     - if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then sudo ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib/; fi | ||||
|     - if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then pip install PIL --use-mirrors ; true; fi | ||||
|     - if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then pip install PIL --use-mirrors ; true; fi | ||||
|     - if [[ $PYMONGO == 'dev' ]]; then pip install https://github.com/mongodb/mongo-python-driver/tarball/master; true; fi | ||||
|     - if [[ $PYMONGO != 'dev' ]]; then pip install pymongo==$PYMONGO --use-mirrors; true; fi | ||||
|     - python setup.py install | ||||
| script: | ||||
|     - python setup.py test | ||||
		Reference in New Issue
	
	Block a user