1
- image : Visual Studio 2022
1
+ image : Ubuntu
2
2
environment :
3
3
4
4
matrix :
@@ -8,22 +8,18 @@ environment:
8
8
# The list here is complete (excluding Python 2.6, which
9
9
# isn't covered by this document) at the time of writing.
10
10
11
- - PYTHON : " C:\\ Python37"
12
- - PYTHON : " C:\\ Python38"
13
- - PYTHON : " C:\\ Python39"
14
- - PYTHON : " C:\\ Python37-x64"
15
- - PYTHON : " C:\\ Python38-x64"
16
- - PYTHON : " C:\\ Python39-x64"
17
- - PYTHON : " C:\\ Python310-x64"
18
- - PYTHON : " C:\\ Python311-x64"
11
+ - PYTHON : 3.7
12
+ - PYTHON : 3.8
13
+ - PYTHON : 3.9
14
+ - PYTHON : 3.10
15
+ - PYTHON : 3.11
16
+ - PYTHON : 3.12
19
17
20
18
install :
21
19
# Newer setuptools is needed for proper support of pyproject.toml
22
- - " %PYTHON%\\ python.exe -m pip install setuptools --upgrade"
23
- # We need wheel installed to build wheels
24
- - " %PYTHON%\\ python.exe -m pip install wheel --upgrade"
25
- - " %PYTHON%\\ python.exe -m pip install build setuptools_scm"
26
- - " %PYTHON%\\ python.exe -m pip install pytest numpy pandas"
20
+ - source ~/venv${PYTHON}/bin/activate
21
+ - which python
22
+ - python -m pip install build pytest numpy pandas
27
23
28
24
build : off
29
25
@@ -35,20 +31,22 @@ test_script:
35
31
# Note that you must use the environment variable %PYTHON% to refer to
36
32
# the interpreter you're using - Appveyor does not do anything special
37
33
# to put the Python version you want to use on PATH.
38
- # - "build.cmd %PYTHON%\\python.exe setup.py test"
39
- - " %PYTHON%\\ python.exe -m pytest -v --doctest-modules --ignore benchmark.py"
34
+ - source ~/venv${PYTHON}/bin/activate
35
+ - which python
36
+ - python -m pytest -v --doctest-modules --ignore benchmark.py
37
+
40
38
41
39
after_test :
42
40
# This step builds your wheels.
43
41
# Again, you only need build.cmd if you're building C extensions for
44
42
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
45
43
# interpreter
46
- # - "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
47
- - " %PYTHON%\\ python.exe -m build -nswx ."
44
+ - source ~/venv${PYTHON}/bin/activate
45
+ - which python
46
+ - python -m build .
48
47
49
48
artifacts :
50
- # bdist_wheel puts your built wheel in the dist directory
51
- - path : dist\*
49
+ - path : dist/*
52
50
53
51
# on_success:
54
52
# You can use this step to upload your artifacts to a public website.
0 commit comments