Skip to content

Commit

Permalink
Update AppVeyor build configuration
Browse files Browse the repository at this point in the history
* Update Windows build environment (Visual Studio 2017)
* Add build cache for local Maven repository
  • Loading branch information
joschi committed Mar 2, 2019
1 parent 42ef200 commit 3603778
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions appveyor.yml
@@ -1,3 +1,19 @@
version: '{build}'
skip_tags: true
clone_depth: 2
branches:
except:
- gh-pages
image: 'Visual Studio 2017'
environment:
#JAVA_HOME: 'C:\Program Files\Java\jdk11'
JAVA_OPTS: '-Xms512m -Xmx2g'
cache:
- 'C:\Users\appveyor\.m2\repository'
install:
#- cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
- cmd: java -version
build_script:
- mvnw.cmd -V -B -ff install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Dmaven.deploy.skip=true
test_script:
- mvn package
build: off
- mvnw.cmd -V -B -ff verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Dmaven.deploy.skip=true

0 comments on commit 3603778

Please sign in to comment.