Skip to content

Commit 00ce431

Browse files
authored
Merge pull request AtsushiSakai#153 from jwdinius/fix_appveyor
fix appveyor
2 parents 8bacdd4 + b43735e commit 00ce431

File tree

1 file changed

+10
-22
lines changed

1 file changed

+10
-22
lines changed

appveyor.yml

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -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

1313
init:
14-
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
14+
- "ECHO %MINICONDA% %PYTHON_VERSION% %PYTHON_ARCH%"
1515

1616

1717
install:
@@ -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-
5947
build: off
6048

6149
test_script:

0 commit comments

Comments
 (0)