forked from B3Partners/tailormap-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (41 loc) · 2.07 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
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '{build}-({branch})'
skip_tags: true
clone_folder: C:\projects\flamingo
clone_depth: 20
init:
- cmd: net start %SQL%
environment:
fast_finish: true
matrix:
- JDK: JDK8
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
SQL: MSSQL$SQL2017
INSTANCENAME: SQL2017
- JDK: JDK11
JAVA_HOME: C:\Program Files\Java\jdk11
SQL: MSSQL$SQL2017
INSTANCENAME: SQL2017
install:
- choco install codecov
- cmd: echo %PATH%
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-http-proxy.ps1'))
- ps: .\.appveyor\set-maven-proxy.ps1
- ps: Invoke-WebRequest http://cert.pkioverheid.nl/RootCA-G2.cer -OutFile .\RootCA-G2.cer
- ps: Invoke-WebRequest http://cert.pkioverheid.nl/RootCA-G3.cer -OutFile .\RootCA-G3.cer
# load pki-overheid G2/G3 certificates on java 8
- cmd: if "%JDK%"=="JDK8" keytool -importcert -file .\RootCA-G2.cer -alias G2 -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -storepass changeit -v -noprompt -trustcacerts
- cmd: if "%JDK%"=="JDK8" keytool -importcert -file .\RootCA-G3.cer -alias G3 -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -storepass changeit -v -noprompt -trustcacerts
# load pki-overheid G2/G3 certificates on java 11
- cmd: if "%JDK%"=="JDK11" keytool -importcert -file .\RootCA-G2.cer -alias G2 -keystore "%JAVA_HOME%\lib\security\cacerts" -storepass changeit -v -noprompt -trustcacerts
- cmd: if "%JDK%"=="JDK11" keytool -importcert -file .\RootCA-G3.cer -alias G3 -keystore "%JAVA_HOME%\lib\security\cacerts" -storepass changeit -v -noprompt -trustcacerts
- mvn install -U -DskipTests -Dtest.skip.integrationtests=true -B -V -fae
before_test:
- sqlcmd -S (local)\%INSTANCENAME% -U sa -P Password12! -Q "CREATE DATABASE flamingo4" -d "master"
cache:
- C:\Users\appveyor\.m2\repository -> pom.xml
build: off
test_script:
- mvn -e clean test -B
- mvn -e verify -B -Pappveyor -pl "!viewer-admin"
- mvn -e verify -B -Pappveyor -pl "viewer-admin"
- codecov -v -f target/site/jacoco-it/jacoco.xml target/site/jacoco/jacoco.xml