forked from mongomock/mongomock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (49 loc) · 1.31 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: python
sudo: true
cache: pip
python:
- 3.5
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
matrix:
# Run all under 3.5 and pypy under pypy, temporary, to be rolled back once trusty fixes it
include:
- env: TOX_ENV=pypy-pymongo
python: pypy-5.4.1
- env: TOX_ENV=pypy-pyexecjs
python: pypy-5.4.1
exclude:
- python: 3.5
env: TOX_ENV=pypy-pymongo
- python: 3.5
env: TOX_ENV=pypy-pyexecjs
services:
- mongodb
script:
- tox -e $TOX_ENV
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "sudo apt-get update"
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