-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
34 lines (33 loc) · 952 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
language: python
dist: focal
matrix:
include:
- python: 3.9
env: TOXENV=lint
- python: 3.9
env: TOXENV=cover
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
- python: 3.9
env: TOXENV=py39
- python: 3.7
env: TOXENV=py37-uvloop
- python: 3.8
env: TOXENV=py38-uvloop
- python: 3.9
env: TOXENV=py39-uvloop
install:
- "sudo apt update && sudo apt install cargo -y"
- "pip install cryptography"
- "mkdir -p /tmp/certs /tmp/local-certs /tmp/client-certs"
- "tests/mkcerts.py -o /tmp/certs -D localhost"
- "tests/mkcerts.py -o /tmp/local-certs -D localhost"
- "tests/mkcerts.py -o /tmp/client-certs -D client1"
- "sudo mkdir -p /usr/local/share/ca-certificates/test"
- "sudo install -m 644 -o root -g root /tmp/certs/ca.pem /usr/local/share/ca-certificates/test/test-ca.crt"
- "sudo update-ca-certificates"
- "pip install tox"
script:
- tox