-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
93 lines (86 loc) · 2.08 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: python
cache: pip
dist: focal
sudo: false
group: travis_latest
install:
- pip install codecov tox
script: tox
after_success:
- tox -e coverage-report
- codecov
matrix:
fast_finish: true
include:
- python: "3.7"
env: TOXENV=py37,py37-setproctitle,py37-uvloop
sudo: true
before_install:
- git clone https://github.com/libuv/libuv.git
- pushd libuv/
- git checkout $(git describe --tags)
- sh autogen.sh
- "./configure"
- make
- sudo make install
- popd
script: tox
- python: "3.8"
env: TOXENV=py38,py38-setproctitle,py38-uvloop
sudo: true
before_install:
- git clone https://github.com/libuv/libuv.git
- pushd libuv/
- git checkout $(git describe --tags)
- sh autogen.sh
- "./configure"
- make
- sudo make install
- popd
script: tox
- python: "3.9"
env: TOXENV=py39,py39-setproctitle,py39-uvloop
sudo: true
before_install:
- git clone https://github.com/libuv/libuv.git
- pushd libuv/
- git checkout $(git describe --tags)
- sh autogen.sh
- "./configure"
- make
- sudo make install
- popd
script: tox
- python: "pypy3.7-7.3.5"
env: TOXENV=pypy3,pypy3-setproctitle,pypy3-uvloop
script: tox
- python: "3.9"
env: TOXENV=lint
- python: "3.9"
env: TOXENV=docs
deploy:
provider: pages
skip_cleanup: true
github_token:
secure: "FGNxmBm5Zr2oLHK13HgqGKPFQKGrILvBUeC9F655V3hBTcOD9BXyeABwF0yvnGSS/1J/sQVNn71uRbZDfmxd/YTT8/5yK4yeuAiT1pnKcMppYaBA/691e9Uz9hB4yfivir/+ZWSlPMQJ2IiLvY6aBfJwwrNtiB5biWQiTlW+5aI="
local_dir: .tox/docs/tmp/html
on:
branch: master
- python: "3.9"
env: TOXENV=build
- python: "3.9"
env: TOXENV=man
- python: "3.9"
env: TOXENV=poetry
- python: "3.9"
env: TOXENV=setuppy
- python: '3.9'
env: TOXENV=shellcheck
addons:
apt:
sources:
- debian-sid
before-script:
- "sudo apt-get install cabal-install"
- "cabal update"
- "cabal install ShellCheck"