forked from gmr/rabbitpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 872 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
sudo: false
language: python
python:
- 2.6
- 2.7
- pypy
- 3.2
- 3.3
- 3.4
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2 --download-cache $HOME/.pip-cache; fi
- pip install -r requirements.txt --download-cache $HOME/.pip-cache
- pip install -r test-requirements.txt --download-cache $HOME/.pip-cache
script: nosetests --with-coverage --cover-package=rabbitpy -v -l DEBUG --logging-level=DEBUG
after_success:
- codecov
services:
- rabbitmq
deploy:
distributions: sdist bdist_wheel
provider: pypi
user: crad
on:
python: 2.7
tags: true
all_branches: true
password:
secure: "ls9ja4J6bcirOvWVCvPAWboaOK6O0Pr/aZmHiifUYKEBqUg8D9PB7JyeXybMthXSx+jkHrFp6pL/IjYGrMYQ3gomZ+fsQTavNLxZxEHyLxDf7LVBxQ0KMNNh+GyF7qi9U749MlZBf9JgBFbAgnwCZRnlzCM8j7PxcFevYv4gouE="
cache:
directories:
- $HOME/.pip-cache/