-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.travis.yml
44 lines (36 loc) · 953 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
language: python
dist: jammy
cache: pip
jobs:
include:
- python: "2.7"
dist: xenial
- python: "3.5"
dist: xenial
- python: "3.6"
dist: focal
- python: "3.7"
- python: "3.8"
- python: "3.9"
- python: "3.10-dev"
- python: "3.11-dev"
- python: "pypy"
before_install:
# install test dependencies
- pip install --upgrade pip
- pip install --upgrade codecov
- pip install --upgrade pytest-cov
- pip install --upgrade responses
- pip install --upgrade importlib-metadata
- pip install --upgrade setuptools
install:
# install dependencies
- pip install --upgrade requests
# important: install the library itself
- pip install --upgrade -e .
script:
# run tests
py.test --cov pyunsplash --cov-report term-missing --cov-report xml
after_success:
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
# codecov # python specific?