forked from twisted/txmongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (52 loc) · 1.42 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
language: python
python: 2.7
# container infra, when fixed
#sudo: false
#
# addons:
# apt:
# sources:
# - mongodb-3.0-precise
# - pypy
#addons:
# apt:
# packages:
# - mongodb-org-server
# - pypy
env:
- TOX_ENV=py27-twlatest
- TOX_ENV=py27-twtrunk
- TOX_ENV=py27-tw154
- TOX_ENV=py27-tw153
- TOX_ENV=py27-tw150
- TOX_ENV=py27-tw140
- TOX_ENV=py33-twtrunk
- TOX_ENV=py34-twtrunk
- TOX_ENV=py35-twtrunk
- TOX_ENV=pypy-twtrunk
- TOX_ENV=pyflakes
- TOX_ENV=manifest
matrix:
fast_finish: true
allow_failures:
- env: TOX_ENV=pyflakes
- env: TOX_ENV=pypy-twtrunk
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://repo.mongodb.org/apt/ubuntu '$(lsb_release -sc)'/mongodb-org/3.0 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list"
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 68854915"
- "echo 'deb http://ppa.launchpad.net/pypy/ppa/ubuntu '$(lsb_release -sc)' main' | sudo tee /etc/apt/sources.list.d/pypy.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server pypy"
- "mongod --version"
- "pypy --version"
install:
- pip install tox coveralls
before_script:
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
script:
- tox -e $TOX_ENV
after_success:
- coveralls
notifications:
email: false