@@ -7,11 +7,11 @@ environment:
77
88
99 matrix :
10- - PYTHON : C:/Python36-x64
11- CONDA_INSTALL_LOCN : " C:\\ Miniconda36-x64"
10+ - PYTHON_VERSION : 3.6
11+ MINICONDA : " C:\\ Miniconda36-x64"
1212
1313init :
14- - " ECHO %PYTHON % %PYTHON_VERSION% %PYTHON_ARCH%"
14+ - " ECHO %MINICONDA % %PYTHON_VERSION% %PYTHON_ARCH%"
1515
1616
1717install :
@@ -30,32 +30,20 @@ install:
3030 - ECHO "Installed SDKs:"
3131 - ps : " ls \" C:/Program Files/Microsoft SDKs/Windows\" "
3232
33- # Install Python (from the official .msi of https://python.org) and pip when
34- # not already installed.
35- - ps : if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
36-
3733 # Prepend newly installed Python to the PATH of this build (this cannot be
3834 # done from inside the powershell script as it would require to restart
3935 # the parent CMD process).
40- - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
41-
36+ - " SET PATH=%MINICONDA%;%MINICONDA%\\ Scripts;%PATH%"
37+ - conda config --set always_yes yes --set changeps1 no
38+ - conda update -q conda
39+ - conda info -a
40+ - conda env create -f C:\\projects\pythonrobotics\environment.yml
41+ - activate python_robotics
42+
4243 # Check that we have the expected version and architecture for Python
4344 - " python --version"
4445 - " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
4546
46- # Upgrade to the latest version of pip to avoid it displaying warnings
47- # about it being out of date.
48- - " python -m pip install --upgrade pip"
49-
50- # Install the build dependencies of the project. If some dependencies contain
51- # compiled extensions and are not provided as pre-built wheel packages,
52- # pip will build them from source using the MSVC compiler matching the
53- # target Python version and architecture
54- - " %PYTHON%/Scripts/pip.exe install numpy"
55- - " %PYTHON%/Scripts/pip.exe install pandas"
56- - " %PYTHON%/Scripts/pip.exe install scipy"
57- - " %PYTHON%/Scripts/pip.exe install matplotlib"
58-
5947build : off
6048
6149test_script :
0 commit comments