File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11environment :
22 matrix :
33 - PYTHON : " C:\\ Python27-x64"
4- cassandra_version : 3.0.5
4+ cassandra_version : 3.10
55 ci_type : standard
66 - PYTHON : " C:\\ Python34"
7- cassandra_version : 3.0.5
7+ cassandra_version : 3.10
88 ci_type : unit
99os : Visual Studio 2015
1010platform :
Original file line number Diff line number Diff line change @@ -59,9 +59,13 @@ $env:PYTHONPATH="$($env:CCM_PATH);$($env:PYTHONPATH)"
5959$env: PATH = " $ ( $env: CCM_PATH ) ;$ ( $env: PATH ) "
6060
6161# Predownload cassandra version for CCM if it isn't already downloaded.
62+ # This is necessary because otherwise ccm fails
6263If (! (Test-Path C:\Users\appveyor\.ccm\repository\$env: cassandra_version )) {
6364 Start-Process python - ArgumentList " $ ( $env: CCM_PATH ) \ccm.py create -v $ ( $env: cassandra_version ) -n 1 predownload" - Wait - NoNewWindow
65+ echo " Checking status of download"
66+ python $env: CCM_PATH \ccm.py status
6467 Start-Process python - ArgumentList " $ ( $env: CCM_PATH ) \ccm.py remove predownload" - Wait - NoNewWindow
68+ echo " Downloaded version $env: cassandra_version "
6569}
6670
6771Start-Process python - ArgumentList " -m pip install -r test-requirements.txt" - Wait - NoNewWindow
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -force
33Set-ExecutionPolicy - ExecutionPolicy Unrestricted - Scope CurrentUser - force
44Get-ExecutionPolicy - List
55echo $env: Path
6- echo $env: JAVA_HOME
7- echo $env: PYTHONPATH
8- echo $env: CASSANDRA_VERSION
6+ echo " JAVA_HOME: $env: JAVA_HOME "
7+ echo " PYTHONPATH: $env: PYTHONPATH "
8+ echo " Cassandra version: $env: CASSANDRA_VERSION "
99echo $env: ci_type
1010python -- version
1111python - c " import platform; print(platform.architecture())"
You can’t perform that action at this time.
0 commit comments