forked from aio-libs/aiopg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
50 lines (41 loc) · 968 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
sudo: required
language: python
services:
- docker
python:
- "3.3"
- "3.4"
- "3.5"
install:
- python setup.py install
- pip install -Ur requirements.txt
- pip install coveralls
- test $USE_SA == 1 && pip install sqlalchemy || true
script:
- make cov-ci
- python setup.py check -rms
env:
global:
- PYTHON=python
matrix:
- USE_SA=1 PYTHONASYNCIODEBUG=x
- USE_SA=0 PYTHONASYNCIODEBUG=x
- USE_SA=1 PYTHONASYNCIODEBUG=
- USE_SA=0 PYTHONASYNCIODEBUG=
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
after_script:
- coveralls
deploy:
provider: pypi
user: andrew.svetlov
password:
secure: "GpbzbKVaDaIUF24S05LK18vDedNR7kQ8g5Y/5a+qH+HD5w4C8eZSnHkbtAC9s0Fs4Ih8oxEoxaAcFq1rErEL2eBGofDVyFEGR2mwsIoIV3YgGNpYzxKBP5UjMQRp9ciFMpRsTWFYAOiEhoqY6IQJXgL8PKebs3PsCE7AE+blE3Y="
distributions: "sdist bdist_wheel"
on:
tags: true
all_branches: true
python: 3.5