forked from pydot/pydot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (43 loc) · 1.18 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
if: tag IS present OR type = pull_request OR (branch = master AND type = push) # we only CI the master, tags and PRs
language: python
# Main test jobs: The lowest and highest current Python versions.
python:
- 3.6
- 3.9
# List additional test configurations individually, instead of using
# matrix expansion, to prevent an exponential growth of test jobs.
matrix:
include:
# Python versions that are EOL, but we still support.
- python: 3.5
arch: amd64
# pydot itself should be architecture-independent. Still, some
# limited testing on other architectures to catch corner cases.
- python: 3.5
arch: ppc64le
- python: 3.9
arch: ppc64le
# Additional job to run linters that only need to run once.
- name: black
language: python
python: 3.6
arch: amd64
addons:
apt:
packages: []
install:
- pip install -e .[dev]
script:
- black --check --diff .
addons:
apt:
packages:
- graphviz
install:
- pip install -U pip setuptools
- python setup.py sdist
- pip install dist/pydot-*.tar.gz
- pip install -r requirements.txt
script:
- cd test/
- python pydot_unittest.py