forked from tornadoweb/tornado
-
Notifications
You must be signed in to change notification settings - Fork 96
/
.travis.yml
42 lines (35 loc) · 1.02 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
language: python
# because python3.7 is not available on trusty
# @see https://github.com/travis-ci/travis-ci/issues/9815
dist: xenial
# Test on python3
python:
- 3.5 # debian
- 3.6 # ubuntu / amazonlinux
- 3.7 # fedora
- nightly
# Allow failures on cpython nightly build
matrix:
fast_finish: true
allow_failures:
- python: nightly
install:
- pip install -r cyclone/tests/test_requirements.txt
- pip install coveralls
# cyclone has to be installed
# so as trial (twisted test framework) could run
before_script: python setup.py install
script: coverage run `which trial` cyclone
after_success: coveralls
# deploy on pypi
# only on 3.6 (avoid multiple deployment)
deploy:
provider: pypi
user: fiorix
password:
secure: EgUIImke5aN2Q9ybtPfB1RDtvYLouJSjhvetdIWiUJZHxeViaufQQBv2eXkyUaIvwYAagfhnCNSR4Ql9mNr/nksSGvJ+tn9AH014OUSpPcrdmDMZdImWPo7hraNNnEs+pG7an6faBdLDYRtTv8Hx74dW54jCmo9AYBBelwklxwA=
on:
tags: true
branch: master
condition: $TRAVIS_PYTHON_VERSION = 3.6
distributions: "sdist bdist_wheel"