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 1
1
environment :
2
2
matrix :
3
3
- julia_version : 0.6
4
- PYTHON : " C: \\ Python27 \\ python.exe "
4
+ python_version : " 27 "
5
5
- julia_version : 0.6
6
- PYTHON : " C: \\ Python34 \\ python.exe "
6
+ python_version : " 37 "
7
7
- julia_version : 0.6
8
- PYTHON : " Conda"
8
+ python_version : " Conda"
9
9
10
10
- julia_version : 0.7
11
- PYTHON : " C: \\ Python27 \\ python.exe "
11
+ python_version : " 27 "
12
12
- julia_version : 0.7
13
- PYTHON : " C: \\ Python34 \\ python.exe "
13
+ python_version : " 37 "
14
14
- julia_version : 0.7
15
- PYTHON : " Conda"
15
+ python_version : " Conda"
16
16
17
17
- julia_version : 1
18
- PYTHON : " C: \\ Python27 \\ python.exe "
18
+ python_version : " 27 "
19
19
- julia_version : 1
20
- PYTHON : " C: \\ Python34 \\ python.exe "
20
+ python_version : " 37 "
21
21
- julia_version : 1
22
- PYTHON : " Conda"
22
+ python_version : " Conda"
23
23
24
24
- julia_version : nightly
25
- PYTHON : " C: \\ Python27 \\ python.exe "
25
+ python_version : " 27 "
26
26
- julia_version : nightly
27
- PYTHON : " C: \\ Python34 \\ python.exe "
27
+ python_version : " 37 "
28
28
- julia_version : nightly
29
- PYTHON : " Conda"
29
+ python_version : " Conda"
30
30
31
31
platform :
32
32
- x86 # 32-bit
@@ -53,9 +53,20 @@ install:
53
53
- ps : iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
54
54
55
55
build_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%"
56
66
- echo "%JL_BUILD_SCRIPT%"
57
67
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
58
68
59
69
test_script :
70
+ - echo "%PYTHON%"
60
71
- echo "%JL_TEST_SCRIPT%"
61
72
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
You can’t perform that action at this time.
0 commit comments