-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
60 lines (52 loc) · 1.73 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
language: python
python:
- &mainstream_python 3.6
- 3.7
- 3.8
env:
global:
- FLIT_USERNAME=aio-libs-bot
- secure: "Kb3Rn6jiR6qOz2iUFNRtqWboGDG8QeboDW/RJScroSoSBEgo/+h/VHe/YzpX1hxmztEWGDchVjj91pPApxRK8l5cgTeOdGMwKEVDNegUbPXFpLaY04ZMZFKK+B2HfD6bIOlTD00P7Kyla8rp2QpRReJZYXFLv+OVFQmdLg5hzxDDOWUUMmQe3K62iwVaLyN1ytKAzsg/mx0ZZ3AAfhgSi/dGQ4kQgqC5SpM4EpfbK5POKPgbiiQtL0Hq5a4B+hn1Vk8kx2/WOlWQx5+gkMh6y3b6JiA+XGN8vA3sOk79vyassTdIBi26NxLM9Q3NOUKbFhuL4kVK+Bjm9rIX7zCSWuQNBtdPyQ9raNIhfqjXOi0/VGtiaD1HA0GwKdc4Fp3sfaueGIR9syol02G36H92UxegoQ5hAptyGnD8yNPhS+mkvR2c7Xb9XD2DkS4rC7bpydk2zTTMlkT9fbmsOlTHQ5pvuWtakTiid3cBvFx6bbQfOTSjfp3ig9yFwbMYnYHQWKzM4Lp/9RtRp82/km9+Bxs7rqoMe++TqwHvclx2hwxNqHq5caLmpjTSbLL8apOIG/eB9kPzteONYRH6lpl55GCspAhrAaXPuhgXI9F0+4oK89hEFVS8mMp265XK/XQdJVfHsDkEPr6EleSE0MKINO15U5QliY4QaYr/UT8lf2I="
install:
- travis_retry pip install -U setuptools pip wheel codecov
- travis_retry pip install -r requirements/ci.txt
- flit install --symlink
script:
- make test
- codecov
- PYTHONASYNCIODEBUG=x make test
- codecov
_helpers:
- &_mainstream_python_base
python: *mainstream_python
- &_reset_steps
env: []
before_install: skip
install: skip
script: skip
after_success: []
jobs:
include:
- stage: lint
<<: *_mainstream_python_base
<<: *_reset_steps
install:
- travis_retry pip install -r requirements/lint.txt
- flit install --symlink
script:
- make lint
- stage: deploy
if: tag IS present
<<: *_mainstream_python_base
<<: *_reset_steps
install:
- travis_retry pip install -r requirements/ci.txt
script:
- flit publish
stages:
- lint
- test
- name: deploy
# This will prevent deploy unless it's a tagged commit:
if: tag IS present
cache: pip