1
- image : Visual Studio 2022
1
+ image : Ubuntu
2
2
environment :
3
3
4
4
matrix :
@@ -8,22 +8,20 @@ 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 : " {HOME}/venv3.7/bin/python"
12
+ - PYTHON : " {HOME}/venv3.8/bin/python"
13
+ - PYTHON : " {HOME}/venv3.9/bin/python"
14
+ - PYTHON : " {HOME}/venv3.10/bin/python"
15
+ - PYTHON : " {HOME}/venv3.11/bin/python"
16
+ - PYTHON : " {HOME}/venv3.12/bin/python"
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
+ - env
21
+ - which -a python
22
+ - ls ~/venv3.7/bin
23
+ - echo $PYTHON
24
+ - sh : $ PYTHON -m pip install build pytest numpy pandas
27
25
28
26
build : off
29
27
@@ -35,20 +33,18 @@ test_script:
35
33
# Note that you must use the environment variable %PYTHON% to refer to
36
34
# the interpreter you're using - Appveyor does not do anything special
37
35
# 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 "
36
+ - sh : $ 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
+ - sh : $PYTHON -m build .
48
45
49
46
artifacts :
50
- # bdist_wheel puts your built wheel in the dist directory
51
- - path : dist\*
47
+ - path : dist/*
52
48
53
49
# on_success:
54
50
# You can use this step to upload your artifacts to a public website.
0 commit comments