You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/06/04 06:34:37 UTC
[2/2] syncope git commit: Update Appveyor config to use Maven 3.5.3 -
This closes #77
Update Appveyor config to use Maven 3.5.3 - This closes #77
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/681d46b5
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/681d46b5
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/681d46b5
Branch: refs/heads/2_0_X
Commit: 681d46b53ac898899f73d96170d9aed30a3200dd
Parents: 02fa6f2
Author: Sylwester Lachiewicz <sl...@gmail.com>
Authored: Sun Jun 3 16:41:23 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Mon Jun 4 08:34:13 2018 +0200
----------------------------------------------------------------------
appveyor.yml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/681d46b5/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index 2bfa232..a049e6b 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -20,9 +20,17 @@ init:
- git config --global core.autocrlf true
install:
- cinst git
+ - ps: |
+ Add-Type -AssemblyName System.IO.Compression.FileSystem
+ if (!(Test-Path -Path "C:\maven" )) {
+ (new-object System.Net.WebClient).DownloadFile('https://www.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.zip', 'C:\maven-bin.zip')
+ [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
+ }
+ - cmd: SET PATH=C:\maven\apache-maven-3.5.3\bin;%JAVA_HOME%\bin;=%;
- cmd: SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0
- - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
- - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
+ - cmd: SET M2_HOME=C:\maven\apache-maven-3.5.3
+ - cmd: SET MAVEN_OPTS=-Xmx4g
+ - cmd: SET JAVA_OPTS=-Xmx4g
build_script:
- mvn --show-version --quiet -T 1C -PskipTests,all --batch-mode
test_script: