Fetching contributors…
Cannot retrieve contributors at this time
36 lines (35 sloc) 1.08 KB
language: python
sudo: true
cache: pip
env:
- TOX_ENV=py27-pymongo
- TOX_ENV=py27-pyexecjs
- TOX_ENV=py33-pymongo
- TOX_ENV=py33-pyexecjs
- TOX_ENV=py34-pymongo
- TOX_ENV=py34-pyexecjs
- TOX_ENV=py35-pymongo
- TOX_ENV=py35-pyexecjs
- TOX_ENV=pypy-pymongo
- TOX_ENV=pypy-pyexecjs
- TOX_ENV=pep8
script:
- tox -e $TOX_ENV
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server"
before_script:
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
install: pip install tox
deploy:
provider: pypi
user: vmalloc
distributions: bdist_wheel
password:
secure: sNOkUNFfWKGsRy4BI+1jyqycZGSMiXTLtpCrX1mTuvjddbndULrHL3ecIPsCno49/nPR4Gww+e9U3HXc8LKJ9qR4mJ8bVCNiHO5GlGVnpV+wdGh9LVnsU1LWwuD8uWlLyTSOKP+ZmerCw7tGACYiv0e9zp8SqZXCH6VS+sAGFxU=
on:
tags: true
all_branches: true
repo: vmalloc/mongomock