File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 1+ # build version
12version : ' {build}'
2- os : Windows Server 2012
3+
4+ # branches to build
5+ branches :
6+ # blacklist
7+ except :
8+ - gh-pages
9+ - travis
10+ - appveyor
11+
12+ # Do not build on tags
13+ skip_tags : true
14+
15+ # enviroment settings
316environment :
417 matrix :
518 - JAVA_HOME : C:\Program Files\Java\jdk1.7.0
619 GCLOUD_PROJECT :
720 secure : hEMdRRNQ5x4GHZcZGt6gsA==
821 SECRET :
922 secure : 8RQaiFWYQ8DoGCvFJhYYCSH063ZZQofpDxXjUZ8UZZsxVgzHQqjQz44pszw1KrjshkWD7qNHynxPOqlUDFGP9SAW08pzO1ckckNVyMVLDFMDj5WtWWXepZhTIvTbp+qJYU8ToZYzMTfOykov9uUfwS6Oy7e5RQW6SZ6S7ffuVkuRSCIkwL3YetsonB9Hl6ydKwXvyT5F+vd2xIsSkgvrlw9VVdMZl55d4Pd8nqDVDuM=
23+
24+ # install required tools (maven, secure-file, encrypted files)
1025install :
1126 - ps : |
1227 Add-Type -AssemblyName System.IO.Compression.FileSystem
@@ -25,11 +40,17 @@ install:
2540 - cmd : nuget install secure-file -ExcludeVersion
2641 - cmd : IF DEFINED SECRET (secure-file\tools\secure-file -decrypt appveyor\key.json.enc -secret %SECRET% -out appveyor\key.json)
2742 - cmd : IF DEFINED SECRET (SET GOOGLE_APPLICATION_CREDENTIALS=%APPVEYOR_BUILD_FOLDER%\appveyor\key.json)
28- - cmd : echo %GOOGLE_APPLICATION_CREDENTIALS%
43+ - cmd : ECHO %GOOGLE_APPLICATION_CREDENTIALS%
44+
45+ # build and install artifacts
2946build_script :
3047 - mvn clean install -DskipTests
48+
49+ # verify artifacts (no integration tests on PR)
3150test_script :
3251 - IF DEFINED APPVEYOR_PULL_REQUEST_NUMBER (mvn verify -DskipITs) ELSE (mvn verify)
52+
53+ # preserve dependencies between builds
3354cache :
3455 - C:\maven\
35- - C:\Users\appveyor\.m2
56+ - C:\Users\appveyor\.m2
You can’t perform that action at this time.
0 commit comments