-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
44 lines (43 loc) · 936 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
language: python
job:
include:
#- python: "3.8"
# env:
# - TOXENV=py38
#- python: "3.9"
# env:
# - TOXENV=py39
- python: "3.10"
dist: focal
env:
- TOXENV=py310
- YARN_GPG=no
- python: "3.11"
dist: bionic
env:
- TOXENV=py311
- YARN_GPG=no
- python: "3.10"
dist: focal
env:
- TOXENV=coverage
- YARN_GPG=no
- python: "3.10"
dist: focal
env:
- TOXENV=docs
- YARN_GPG=no
os:
- linux
git:
quiet: true
install:
- pip install -r requirements.dev.txt
before_script:
- curl -Os --retry 5 https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
script: tox -- -v -n auto > cmd_output.txt
after_failure:
- curl --upload-file cmd_output.txt https://transfer.sh/cmd_output.txt
after_success:
- if [[ -e .coverage ]]; then ./codecov -t $CODECOV_TOKEN; fi