forked from aio-libs/aiohttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (52 loc) · 1.24 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
sudo: required
services:
- docker
language: python
python:
- 3.4
- 3.5
- '3.6-dev'
- 'nightly'
os:
- linux
# - osx # doesn't work on MacOSX -- the system has no Python installed
matrix:
allow_failures:
- python: '3.6-dev'
- python: 'nightly'
- os: osx
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
install:
- sudo apt-get install enchant
- pip install --upgrade pip wheel
- pip install --upgrade setuptools
- pip install -r requirements-ci.txt
- pip install aiodns
- pip install codecov
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
pip install uvloop;
fi
- pip install sphinxcontrib-spelling
script:
- make cov-dev-full
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
make doc;
make doc-spelling;
fi
after_success:
- codecov
- ./run_docker.sh
deploy:
provider: pypi
user: andrew.svetlov
password:
secure: ZQKbdPT9BlNqP5CTbWRQyeyig7Bpf7wsnYVQIQPOZc9Ec74A+dsbagstR1sPkAO+d+5PN0pZMovvmU7OQhSVPAnJ74nsN90/fL4ux3kqYecMbevv0rJg20hMXSSkwMEIpjUsMdMjJvZAcaKytGWmKL0qAlOJHhixd1pBbWyuIUE=
distributions: "sdist"
on:
tags: true
all_branches: true
python: 3.5