Skip to content

Commit ba0884c

Browse files
committed
Deprecate python 2.7
Update miniconda versions Re-Add name Try to fix builds For debugging ... Fix path Reset changes
1 parent bb1fb61 commit ba0884c

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

appveyor.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,30 @@ build: false
22

33
environment:
44
matrix:
5-
- PYTHON_VERSION: 2.7
6-
MINICONDA: C:\Miniconda-x64
5+
- PYTHON_VERSION: 3.8
6+
MINICONDA: C:\Miniconda38-x64
7+
- PYTHON_VERSION: 3.7
8+
MINICONDA: C:\Miniconda37-x64
79

810
init:
911
- "ECHO %PYTHON_VERSION% %MINICONDA%"
1012

1113
install:
12-
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
13-
- conda config --set always_yes yes --set changeps1 no
14-
- conda update -q conda
15-
- conda info -a
16-
- conda create --name lightfm numpy scipy scikit-learn
17-
- activate lightfm
18-
14+
- cmd: "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
15+
- cmd: conda config --set always_yes yes --set changeps1 no
16+
- cmd: conda config --add channels conda-forge
17+
- cmd: conda update -q conda
18+
- cmd: conda info -a
19+
- cmd: "conda create -q -n test-environment -c conda-forge python=%PYTHON_VERSION% numpy scipy scikit-learn"
20+
- cmd: activate test-environment
1921
# Install the build dependencies of the project.
20-
- conda install --yes --file test-requirements.txt
21-
22+
- cmd: conda install -c conda-forge --yes --file test-requirements.txt
2223
# Install lightfm
23-
- pip install -e .
24+
- cmd: pip install -e .
25+
# List installed environment
26+
- cmd: python --version
27+
- cmd: conda list
2428

2529
test_script:
2630
# Run the project tests
27-
- py.test tests/ -x
31+
- cmd: pytest tests/

0 commit comments

Comments
 (0)