Skip to content

Commit 491413e

Browse files
author
bjmb
committed
Fixed appveyor integration tests
1 parent 9f897c7 commit 491413e

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
environment:
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
99
os: Visual Studio 2015
1010
platform:

appveyor/appveyor.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
6263
If (!(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

6771
Start-Process python -ArgumentList "-m pip install -r test-requirements.txt" -Wait -NoNewWindow

appveyor/run_test.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -force
33
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser -force
44
Get-ExecutionPolicy -List
55
echo $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"
99
echo $env:ci_type
1010
python --version
1111
python -c "import platform; print(platform.architecture())"

0 commit comments

Comments
 (0)