Skip to content

Commit

Permalink
Put Saxon jar into temp dir as .travis.yml does
Browse files Browse the repository at this point in the history
  • Loading branch information
AirQuick committed Feb 7, 2017
1 parent 47b1d16 commit b756310
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions appveyor.yml
@@ -1,5 +1,5 @@
environment:
SAXON_CP: '%APPVEYOR_BUILD_FOLDER%\saxon\saxon9he.jar'
SAXON_CP: '%TEMP%\xspec\saxon\saxon9he.jar'
matrix:
# latest Saxon 9.7 version
- SAXON_VERSION: 9.7.0-14
Expand All @@ -10,9 +10,11 @@ environment:

install:
- ps: >-
mkdir -Name "saxon"
$saxon_home = Split-Path -Path "${env:SAXON_CP}" -Parent
Invoke-WebRequest "http://central.maven.org/maven2/net/sf/saxon/Saxon-HE/${env:SAXON_VERSION}/Saxon-HE-${env:SAXON_VERSION}.jar" -OutFile "saxon\saxon9he.jar"
mkdir -Path $saxon_home
Invoke-WebRequest -Uri "http://central.maven.org/maven2/net/sf/saxon/Saxon-HE/${env:SAXON_VERSION}/Saxon-HE-${env:SAXON_VERSION}.jar" -OutFile "${env:SAXON_CP}"
build: off
test_script:
- cmd: >-
Expand Down

0 comments on commit b756310

Please sign in to comment.