Skip to content

Commit

Permalink
Run tests with Saxon 9.7.0-15 (#77)
Browse files Browse the repository at this point in the history
* Use the same environment variable name as .travis.yml
* Put Saxon jar into temp dir as .travis.yml does
* Run tests with Saxon 9.7.0-15
  • Loading branch information
AirQuick authored and Sandro Cirulli committed Feb 14, 2017
1 parent 01c7e25 commit 72a4c71
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
env:
matrix:
# latest Saxon 9.7 version
- SAXON_VERSION=9.7.0-14
- SAXON_VERSION=9.7.0-15
# latest Saxon 9.6 version
- SAXON_VERSION=9.6.0-10
# Saxon version used in oXygen
Expand Down
14 changes: 8 additions & 6 deletions appveyor.yml
@@ -1,18 +1,20 @@
environment:
SAXON_CP: '%APPVEYOR_BUILD_FOLDER%\saxon\saxon9he.jar'
SAXON_CP: '%TEMP%\xspec\saxon\saxon9he.jar'
matrix:
# latest Saxon 9.7 version
- SAXON_VER: 9.7.0-14
- SAXON_VERSION: 9.7.0-15
# latest Saxon 9.6 version
- SAXON_VER: 9.6.0-10
- SAXON_VERSION: 9.6.0-10
# Saxon version used in oXygen
- SAXON_VER: 9.6.0-7
- SAXON_VERSION: 9.6.0-7

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_VER}/Saxon-HE-${env:SAXON_VER}.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 72a4c71

Please sign in to comment.