forked from yougov/mongo-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 910 Bytes
/
.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
dist: xenial
sudo: false
language: python
jobs:
fast_finish: true
include:
- python: 3.4
env: MONGODB=3.4.17
- python: &latest_py3 3.7
env: MONGODB=3.4.17
- stage: deploy
if: tag IS present
python: *latest_py3
install: skip
script: skip
deploy:
provider: pypi
on:
tags: true
all_branches: true
user: jaraco
password:
secure: HQ6c5wiRDLjfb0XjOuDwfzuagYvQ+QgrFZ2Y6RYbdzJcoWxo6VBfVwq6zgsdldUzl0zHw/1MxWusljUXxneGrn+Ef616tPaRXrIIcYroG479+09woD37u26Xi6M8NBvUxiNRUGvspV5Ja8+88vjisDWwB7sNbEVGhBhoMDqLCew=
distributions: dists
skip_cleanup: true
install:
- pip install -U tox tox-venv
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz
- tar zxf mongodb-linux-x86_64-${MONGODB}.tgz
- export PATH=${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/:${PATH}
- mongod --version
script:
- tox