forked from mongomock/mongomock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (35 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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: mongomock/mongomock