File tree Expand file tree Collapse file tree 1 file changed +23
-12
lines changed
Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Original file line number Diff line number Diff line change 11environment :
22 matrix :
33 - julia_version : 0.6
4- PYTHON : " C: \\ Python27 \\ python.exe "
4+ python_version : " 27 "
55 - julia_version : 0.6
6- PYTHON : " C: \\ Python34 \\ python.exe "
6+ python_version : " 37 "
77 - julia_version : 0.6
8- PYTHON : " Conda"
8+ python_version : " Conda"
99
1010 - julia_version : 0.7
11- PYTHON : " C: \\ Python27 \\ python.exe "
11+ python_version : " 27 "
1212 - julia_version : 0.7
13- PYTHON : " C: \\ Python34 \\ python.exe "
13+ python_version : " 37 "
1414 - julia_version : 0.7
15- PYTHON : " Conda"
15+ python_version : " Conda"
1616
1717 - julia_version : 1
18- PYTHON : " C: \\ Python27 \\ python.exe "
18+ python_version : " 27 "
1919 - julia_version : 1
20- PYTHON : " C: \\ Python34 \\ python.exe "
20+ python_version : " 37 "
2121 - julia_version : 1
22- PYTHON : " Conda"
22+ python_version : " Conda"
2323
2424 - julia_version : nightly
25- PYTHON : " C: \\ Python27 \\ python.exe "
25+ python_version : " 27 "
2626 - julia_version : nightly
27- PYTHON : " C: \\ Python34 \\ python.exe "
27+ python_version : " 37 "
2828 - julia_version : nightly
29- PYTHON : " Conda"
29+ python_version : " Conda"
3030
3131platform :
3232 - x86 # 32-bit
@@ -53,9 +53,20 @@ install:
5353 - ps : iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
5454
5555build_script :
56+ - ps : if ( -not ( $env:python_version -eq "Conda" )) {
57+ if ($env:PLATFORM -eq "x64") {
58+ $env:PYTHON = "C:\\Python" + $env:python_version + "-x64\\python.exe"
59+ } else {
60+ $env:PYTHON = "C:\\Python" + $env:python_version + "\\python.exe"
61+ }
62+ }
63+ # For the path to Python executables, see:
64+ # https://www.appveyor.com/docs/build-environment/#python
65+ - echo "%PYTHON%"
5666 - echo "%JL_BUILD_SCRIPT%"
5767 - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
5868
5969test_script :
70+ - echo "%PYTHON%"
6071 - echo "%JL_TEST_SCRIPT%"
6172 - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
You can’t perform that action at this time.
0 commit comments