-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
49 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
48
49
language: python
python:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
install:
- "[ -e requirements.txt ] && pip install -r requirements.txt"
- pip install .[test]
script:
- PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 hatch run test
## Ignored by Travis, but used internally to check packaging
dist_check:
tests:
- label: install
matrix:
'yes':
- label: venv
matrix:
'on': |
pip install virtualenv
virtualenv /tmp/virtualenv
. /tmp/virtualenv/bin/activate
'off': |
true
- label: pkg
matrix:
docker: |
## Using the versions of python docker images
true
latest: |
## Using the last version of pip and setuptools
pip install pip --upgrade
- label: method
matrix:
setup: python setup.py install
pip+git: pip install "git+file://$PWD"
dist:
dist_files:
pip install "$DIST_FILE"
- |
pip show -f pyc3l
pip list
- |
python -c 'import pyc3l'
- |
pip uninstall -y pyc3l