-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (48 loc) · 1.91 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
# Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py
language: python
python:
- 3.5
- 3.4
- 2.7
env:
- TWISTED=latest
- TWISTED=14.0.2
- TWISTED=15.5.0
- TWISTED=16.0.0
- TWISTED=16.1.1
- TWISTED=16.2.0
- TWISTED=16.3.2
- TWISTED=16.4.1
matrix:
exclude:
# don't test on earlier version on Python 3, 'trial' is not available before TWISTED=15.4.0
- python: 3.5
env: TWISTED=14.0.2
- python: 3.4
env: TWISTED=14.0.2
# command to install dependencies
install:
- pip install -U pip
- pip install -U -r requirements.txt -r requirements-dev.txt .
- |
# Overwrite twisted package for test
set -e
[ $TWISTED = latest ] || pip install Twisted==$TWISTED
- pip install -U tox coveralls coverage
# command to run tests
script:
- trial txrwlock
- coverage run --branch --source=txrwlock $(which trial) txrwlock && coverage report -m
- python setup.py build_sphinx
after_success:
- "coveralls"
deploy:
provider: pypi
user: stibbons
password:
secure: H3e9XCo6PMnMhMETiEMxnZtof0LtoLc5a+QlMr371c62c3ZaGom5u1nWNe81BKs5/5k5i5oGPq4HiTc6WrXTqH1Dzxxw27zNJNqwtRDlFD9VNRELywYn9hk6Pzoe2l1wOz3JhHKNkfmqZbq/0VuaZAChpOfFoxe1vrl/lZlIcWxl0+Z70G1h2SsfPZtEfM2fuklAYrK7YhtvxyQZTj2FEXR4PMGyQvuWJ9+ZOWRqpADQkYuK4qoLXwA49j/oouFx674kiPgvr+GX59YVf662VQ+wFGoK8QzOb2rMTsWxg+dIqgAQcXNy0p/S9FdygpAfRrpfQSFO18U5QHKR54CwEPuuTzPwUtExFTkjpeVoB0TyvLnt5IuK5mBRkjdHEYOnSLx/J+Nonbx9BAN9IIJ2+Sj5DFiIteIVaM7toTpu+EDrk6+hD+JKdN0FaPnZmT3UtaNQZVTqCOoxYkZvDco0uwrC+KwlMY9WsxezWhWq1dSMZNilueQjPgbPgCGpXE7nHXBu8Le7k7tNZo5alIji6d7jumurltLYH9iPnzC2aHJsh2kaLZog6bAhEKUxMok3IwYlR/MkW9j4vuLDLDontTpG2JSFCvX+NfZ79lKWNRbhfCxjVXD6awUQOqw1BpAQO0g7oJMQC/PJOGHN0NEIEF77RGAyJ8M+DQA0fGS6OWU=
on:
tags: true
distributions: sdist bdist_wheel
repo: Stibbons/txrwlock