-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
38 lines (36 loc) · 1.02 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
branches:
except:
- gh-pages
only:
- master
skip_tags: true
build_script:
-
ps: "mvn -B clean install -DskipTests=true"
cache:
- "C:\\maven\\"
- "C:\\Users\\appveyor\\.m2"
# set clone depth
clone_depth: 5
environment:
JAVA_HOME: "C:\\Program Files\\Java\\jdk1.8.0"
MAVEN_OPTS: "-Xms2048m -Xmx2048m"
init:
- git config --global core.autocrlf input
install:
-
ps: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
if(!(Test-Path -Path \"C:\\maven\\apache-maven-3.3.9\"))
{
echo 'Downloading Maven '
(new-object System.Net.WebClient).DownloadFile('http://redrockdigimark.com/apachemirror/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip',
'C:\\apache-maven-3.3.9-bin.zip')
[System.IO.Compression.ZipFile]::ExtractToDirectory('C:\\apache-maven-3.3.9-bin.zip','C:\\maven')
}
Set PATH="C:\\maven\\apache-maven-3.3.9\\bin;%PATH%"
test_script:
-
ps: "mvn -B clean install"
version: 1.0-SNAPSHOT.{build}