forked from SAP/python-pyodata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (50 loc) · 1.03 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
dist: xenial
sudo: required
language: python
python:
- "3.6"
- "3.7"
- "3.8"
env:
- LXML_VERSION=3.7.3
- LXML_VERSION=3.8.0
- LXML_VERSION=4.0.0
- LXML_VERSION=4.1.1
- LXML_VERSION=4.2.6
- LXML_VERSION=4.3.5
- LXML_VERSION=4.4.3
- LXML_VERSION=4.5.0
jobs:
exclude:
- python: 3.7
env: LXML_VERSION=3.7.3
- python: 3.7
env: LXML_VERSION=3.8.0
- python: 3.7
env: LXML_VERSION=4.0.0
- python: 3.8
env: LXML_VERSION=3.7.3
- python: 3.8
env: LXML_VERSION=3.8.0
- python: 3.8
env: LXML_VERSION=4.0.0
# command to install dependencies
install:
- pip install .
- pip install lxml==$LXML_VERSION
- pip install -r dev-requirements.txt
- pip install -r requirements.txt
- pip install bandit
# command to run tests
script:
- make check
- bandit -r -lll .
after_success:
- codecov
notifications:
email:
recipients:
on_success: always
on_failure: always