mwt-ds-explore-java/appveyor.yml

24 строки
700 B
YAML

version: 1.0.{build}
environment:
PATH: C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
MAVEN_OPTS: -Xmx16m
JAVA_OPTS: -Xmx16m
install:
- ps: >-
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path -Path "C:\maven" )) {
(new-object System.Net.WebClient).DownloadFile(
'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip',
'C:\maven-bin.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
}
cache:
- C:\maven\
- C:\Users\appveyor\.m2
build_script:
- cmd: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
test_script:
- cmd: mvn test -B