-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy path.cirrus.yml
More file actions
23 lines (20 loc) · 812 Bytes
/
.cirrus.yml
File metadata and controls
23 lines (20 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# <https://Cirrus-CI.org/examples/#python>
# <https://hub.Docker.com/_/python/>
container:
image: python:latest
# image: python:3.9.9-slim
test_task:
pip_cache:
folder: ~/.cache/pip
# fingerprint_script: cat requirements.txt
# populate_script: pip install -r requirements.txt
populate_script: pip install distro
test_script:
- pip install --upgrade pip
- pip install distro
- pip install geographiclib
- python -c 'import distro; print(distro.id(), repr(distro.name()), distro.version())'
- python -c 'import platform; print(platform.uname())' # , platform.dist())'
- python -c 'import geographiclib; print("geographiclib " + geographiclib.__version__)'
- python -B test/run.py -failedonly
- env PYGEODESY_LAZY_IMPORT=0 python -B test/run.py -failedonly