-
Notifications
You must be signed in to change notification settings - Fork 199
/
.travis.yml
47 lines (47 loc) · 1.16 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
dist: jammy
language: python
sudo: false
arch:
- amd64
- arm64
- s390x
git:
depth: 1
python:
- 3.10
- pypy3
# Disable version pypy3 for ppc64le
jobs:
exclude:
- arch: s390x
python: pypy3
- arch: arm64
python: pypy3
env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
before_install:
- >
if [[ "$TRAVIS_CPU_ARCH" == "arm64" || "$TRAVIS_CPU_ARCH" == "s390x" ]]; then
sudo apt-get update;
sudo apt-get -y install libmagickwand-dev;
fi
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
pypy3 -m ensurepip
fi
install:
- echo $TRAVIS_PYTHON_VERSION
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
pypy3 -m pip install -U pytest pytest-xdist pytest-forked
else
pip install -U pytest pytest-xdist pytest-forked pytest-cov
fi
script:
- python -mwand.version --verbose
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
pypy3 -m pytest --skip-pdf --forked --durations=20;
else
pytest --skip-pdf --cov wand --forked --durations=20;
fi