forked from getlogbook/logbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (61 loc) · 1.27 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
55
56
57
58
59
60
61
62
63
64
65
language: python
dist: xenial
addons:
apt:
sources:
- chris-lea-redis-server
- sourceline: 'ppa:chris-lea/zeromq'
packages:
- redis-server
- libzmq3-dev
services:
- redis-server
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
before_install:
- pip install coveralls
install:
- pip install -U pip
- pip install cython
- cython logbook/_speedups.pyx
env:
- DISABLE_LOGBOOK_CEXT=True
- CYBUILD=True
script:
- pip install -e .[all]
- if [[ $GEVENT == 'True' ]] ; then pip install gevent; fi
- pytest --cov=logbook -r s tests
matrix:
exclude:
include:
- python: "3.6"
env: GEVENT=True CYBUILD=True
- python: "2.7"
env: GEVENT=True CYBUILD=True
after_success:
- coveralls
notifications:
email:
recipients:
irc:
channels:
- chat.freenode.net#pocoo
on_success: change
on_failure: always
use_notice: true
skip_join: true
deploy:
- provider: pypi
user: vmalloc
password:
secure: WFmuAbtBDIkeZArIFQRCwyO1TdvF2PaZpo75r3mFgnY+aWm75cdgjZKoNqVprF/f+v9EsX2kDdQ7ZfuhMLgP8MNziB+ty7579ZDGwh64jGoi+DIoeblAFu5xNAqjvhie540uCE8KySk9s+Pq5EpOA5w18V4zxTw+h6tnBQ0M9cQ=
on:
python: "3.7"
condition: $CYBUILD = 'True'
tags: true
repo: getlogbook/logbook
distributions: "sdist"