forked from gmr/consulate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 929 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
language: python
sudo: false
python:
- 2.6
- 2.7
- pypy
- 3.3
- 3.4
before_install:
- curl -L -o /tmp/0.4.1_linux_amd64.zip https://dl.bintray.com/mitchellh/consul/0.4.1_linux_amd64.zip
- unzip /tmp/0.4.1_linux_amd64.zip
- ./consul agent -data-dir=/tmp/consul -server -bootstrap > /tmp/consul.log &
- pip install codecov
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors argparse unittest2; fi
- pip install -r dev-requirements.txt
script: nosetests --with-coverage --cover-package=consulate
after_success:
- codecov
deploy:
distributions: sdist bdist_wheel
provider: pypi
user: crad
on:
python: 2.7
tags: true
all_branches: true
password:
secure: "W3mHi2tzX34KcN82tdVPZwS0RHBGkI2Cy/df18ehsVKoOzWzQvaQKh2Jh1LIBOvdZCyih+KltmMNT8ounqUd+ql6kBFd0kotQk3C3x5R5KlpbhQ4BNKp++grs+iycPwK6qnJISypt2d3ykJNgqUgfBI0p+7XVpMkBY0GIXGNcvk="