Skip to content

Commit

Permalink
Merge pull request asciidoctor#140 from abelsromero/master
Browse files Browse the repository at this point in the history
resolves asciidoctor#139 added AppVeyor config file
  • Loading branch information
mojavelinux committed Dec 24, 2014
2 parents 8fefbcc + c470332 commit 21feb46
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '{build}'
skip_tags: true
clone_depth: 10
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.7.0
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
- ps: >-
$MVNDIR = 'C:\bin\apache-maven-3.2.3\'
if(!(Test-Path -Path $MVNDIR )){
Write-Host (Test-Path -Path $MVNDIR)
Write-Host 'Installing Maven'
cinst maven
} else {
Write-Host 'Found Maven cached installation'
}
# Note: env variables are not correctly updated by choco (setting it manually)
# Prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH
- cmd: SET PATH=C:\bin\apache-maven-3.2.3\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%
- cmd: mvn --version
- cmd: java -version
build_script:
- mvn clean package -B -Dmaven.test.skip=true
test_script:
- mvn test -B
cache:
- C:\bin\apache-maven-3.2.3\

0 comments on commit 21feb46

Please sign in to comment.