Skip to content

Commit

Permalink
Merge branch '3.0.x' into 3.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tolbertam committed Mar 3, 2017
2 parents e08417e + 773b54d commit 4e9af33
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,12 @@ jdk:
- oraclejdk7
- oraclejdk8
sudo: false
before_install:
# Require JDK8 for compiling
- jdk_switcher use oraclejdk8
before_script:
# Switch back to configured JDK for running tests
- jdk_switcher use $TRAVIS_JDK_VERSION
cache:
directories:
- $HOME/.m2
Expand Down
9 changes: 9 additions & 0 deletions build.yaml
Expand Up @@ -43,6 +43,15 @@ cassandra:
- '3.0'
- '3.10'
build:
- script: |
. /usr/local/bin/jdk_switcher.sh
jdk_switcher use oraclejdk8
export MAVEN_HOME=/home/jenkins/.mvn/apache-maven-3.2.5
export PATH=$MAVEN_HOME/bin:$PATH
mvn -B -V install -DskipTests
- script: |
. /usr/local/bin/jdk_switcher.sh
jdk_switcher use $JAVA_VERSION
- type: maven
version: 3.2.5
goals: verify --fail-never -P$TEST_GROUP
Expand Down
2 changes: 2 additions & 0 deletions ci/appveyor.ps1
Expand Up @@ -19,6 +19,8 @@ If ($env:PLATFORM -eq "X64") {
}

$env:JAVA_HOME="C:\Program Files\Java\jdk$($env:java_version)"
# The configured java version to test with.
$env:JAVA_PLATFORM_HOME="$($env:JAVA_HOME)"
$env:JAVA_8_HOME="C:\Program Files\Java\jdk1.8.0"
$env:PATH="$($env:PYTHON);$($env:PYTHON)\Scripts;$($env:JAVA_HOME)\bin;$($env:OPENSSL_PATH)\bin;$($env:PATH)"
$env:CCM_PATH="$($dep_dir)\ccm"
Expand Down
8 changes: 6 additions & 2 deletions ci/appveyor.yml
Expand Up @@ -9,9 +9,13 @@ platform: x64
install:
- ps: .\ci\appveyor.ps1
build_script:
- mvn -B install -DskipTests=true
- ps: |
$env:JAVA_HOME="$($env:JAVA_8_HOME)"
mvn install -DskipTests=true -D"maven.javadoc.skip"=true -B -V
test_script:
- "mvn -B -Dccm.java.home=\"%JAVA_8_HOME%\" -Dccm.maxNumberOfNodes=1 -Dcassandra.version=%cassandra_version% verify -P%test_profile%"
- 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:
Expand Down

0 comments on commit 4e9af33

Please sign in to comment.