File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,30 @@ build: false
22
33environment :
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
810init :
911 - " ECHO %PYTHON_VERSION% %MINICONDA%"
1012
1113install :
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
2529test_script :
2630 # Run the project tests
27- - py.test tests/ -x
31+ - cmd : pytest tests/
You can’t perform that action at this time.
0 commit comments