environment:
  test_profile: default
  matrix:
    - java_version: 1.6.0
    - java_version: 1.7.0
    - java_version: 1.8.0
      test_profile: short
platform: x64
install:
  - ps: .\ci\appveyor.ps1
build_script:
  - ps: |
      $env:JAVA_HOME="$($env:JAVA_8_HOME)"
      mvn install -DskipTests=true -D"maven.javadoc.skip"=true -B -V
test_script:
  - ps: |
      $env:JAVA_HOME="$($env:JAVA_PLATFORM_HOME)"
      mvn -B -D"ccm.java.home"="$($env:JAVA_8_HOME)" -D"ccm.maxNumberOfNodes"=1 -D"cassandra.version"=$($env:cassandra_version) test -P $($env:test_profile)
on_finish:
  - ps: .\ci\uploadtests.ps1
cache:
  - C:\Users\appveyor\.m2
  - C:\Users\appveyor\.ccm\repository
  - C:\Users\appveyor\deps -> .\ci\appveyor.ps1

environment:
  test_profile: default
  matrix:
    - java_version: 1.6.0
    - java_version: 1.7.0
    - java_version: 1.8.0
      test_profile: short
platform: x64
install:
  - ps: .\ci\appveyor.ps1
build_script:
  - "set \"JAVA_HOME=%JAVA_8_HOME%\" && mvn install -DskipTests=true -D\"maven.javadoc.skip\"=true -B -V"
test_script:
  - "set \"JAVA_HOME=%JAVA_PLATFORM_HOME%\" && mvn -B -D\"ccm.java.home\"=\"%JAVA_8_HOME%\" -D\"ccm.maxNumberOfNodes\"=1 -D\"cassandra.version\"=%cassandra_version% test -P %test_profile%"
on_finish:
  - ps: .\ci\uploadtests.ps1
cache:
  - C:\Users\appveyor\.m2
  - C:\Users\appveyor\.ccm\repository
  - C:\Users\appveyor\deps -> .\ci\appveyor.ps1

Switch from Powershell back to Cmd for Appveyor builds
Switch from Powershell back to Cmd for Appveyor builds

Powershell errors out if anything is printed on stderr, which is pretty
common since there are negative tests that produce stderr.
