forked from mongomock/mongomock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (70 loc) · 1.95 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
language: python
sudo: true
cache: pip
python:
- 3.5
env:
- TOX_ENV=py27
- TOX_ENV=py27-mock-pymongo-pyexecjs
- TOX_ENV=pypy-mock-pymongo-pyexecjs
- TOX_ENV=py34-pymongo-pyexecjs
- TOX_ENV=py35-pymongo-pyexecjs
- TOX_ENV=py36-pymongo-pyexecjs
- TOX_ENV=py37
- TOX_ENV=py37-pymongo
- TOX_ENV=py37-pyexecjs
- TOX_ENV=py37-pymongo-pyexecjs
- TOX_ENV=pep8
- TOX_ENV=pylint
matrix:
# Run all under 3.5 and pypy under pypy, temporary, to be rolled back once trusty fixes it
include:
- env: TOX_ENV=pypy-mock-pymongo-pyexecjs
python: pypy-5.4.1
- env: TOX_ENV=py36-pymongo-pyexecjs
python: 3.6
- env: TOX_ENV=py37
python: 3.7
dist: xenial
- env: TOX_ENV=py37-pymongo
python: 3.7
dist: xenial
- env: TOX_ENV=py37-pyexecjs
python: 3.7
dist: xenial
- env: TOX_ENV=py37-pymongo-pyexecjs
python: 3.7
dist: xenial
exclude:
- python: 3.5
env: TOX_ENV=pypy-mock-pymongo-pyexecjs
- python: 3.5
env: TOX_ENV=py36-pymongo-pyexecjs
- python: 3.5
env: TOX_ENV=py37
- python: 3.5
env: TOX_ENV=py37-pymongo
- python: 3.5
env: TOX_ENV=py37-pyexecjs
- python: 3.5
env: TOX_ENV=py37-pymongo-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