forked from getlogbook/logbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (53 loc) · 1.21 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
language: python
services:
- redis-server
python:
- '2.7'
- '3.5'
- '3.6'
before_install:
- pip install coveralls
install:
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
- sudo apt-add-repository -y ppa:chris-lea/zeromq
- sudo apt-get update
- sudo apt-get install -y libzmq3-dev
- 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:
- vmalloc@gmail.com
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:
tags: true
repo: getlogbook/logbook
distributions: "sdist"