Skip to content

Commit

Permalink
attempt to fix jdk6/7 appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
frohoff committed Nov 16, 2018
1 parent 6909d52 commit ef1a1be
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ skip_tags: true
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.6.0
M2_HOME: C:\bin\apache-maven-3.2.5
- JAVA_HOME: C:\Program Files\Java\jdk1.7.0
MAVEN_OPTS: -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0

matrix:
Expand All @@ -20,17 +22,19 @@ matrix:

# install required tools (maven, secure-file, encrypted files)
install:
- cmd: if not exist "C:\bin\apache-maven-3.2.5\bin\*.*" cinst maven --version 3.2.5 --allow-empty-checksums
- cmd: echo %JAVA_HOME%
- cmd: echo %M2_HOME%

# build and install artifacts
build_script:
- mvn clean install -DskipTests
- '"%M2_HOME%\bin\mvn" clean install -DskipTests'

# verify artifacts
test_script:
- mvn test
- '"%M2_HOME%\bin\mvn" test'

# preserve dependencies between builds
cache:
- C:\Users\appveyor\.m2
- C:\bin\apache-maven-3.2.5

0 comments on commit ef1a1be

Please sign in to comment.