File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
1
version : ' {build}'
2
+ skip_tags : true
3
+ clone_depth : 10
4
+ environment :
5
+ matrix :
6
+ - JAVA_HOME : C:\Program Files\Java\jdk1.7.0
7
+ # - JAVA_HOME: C:\Program Files\Java\jdk1.8.0
8
+ branches :
9
+ only :
10
+ - master
11
+ except :
12
+ - gh-pages
2
13
os : Windows Server 2012
3
14
install :
4
15
- ps : |
5
16
Add-Type -AssemblyName System.IO.Compression.FileSystem
6
17
if (!(Test-Path -Path "C:\maven" )) {
7
- (new-object System.Net.WebClient).DownloadFile(
8
- 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip',
9
- 'C:\maven-bin.zip'
10
- )
18
+ (new-object System.Net.WebClient).DownloadFile('http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip')
11
19
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
12
20
}
13
- - cmd : SET PATH=C:\maven\apache-maven-3.2.5 \bin;%JAVA_HOME%\bin;%PATH%
21
+ - cmd : SET PATH=C:\maven\apache-maven-3.3.9 \bin;%JAVA_HOME%\bin;%PATH%
14
22
- cmd : SET MAVEN_OPTS=-Xmx1g
15
23
- cmd : SET JAVA_OPTS=-Xmx1g
24
+ - cmd : mvn --version
25
+ - cmd : java -version
16
26
build_script :
17
27
- mvn clean package --batch-mode -DskipTest
18
28
test_script :
You can’t perform that action at this time.
0 commit comments