Skip to content

Commit

Permalink
Run tests with both Saxon 9.6.0-7 and 9.6.0-10 (expath#68)
Browse files Browse the repository at this point in the history
* Saxon 9.6.0-7 is used because it is the version currently used in Oxygen
* Saxon 9.6.0-10 is used because it is the latest 9.6 version provided by Saxon
* Saxon 9.7.0-14 is used because it is the latest 9.7 version provided by Saxon
  • Loading branch information
tofi86 authored and Sandro Cirulli committed Jan 16, 2017
1 parent 5aa7644 commit f2db6e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
env:
matrix:
# latest Saxon 9.7 version
- SAXON_VERSION=9.7.0-14
# latest Saxon 9.6 version
- SAXON_VERSION=9.6.0-10
# Saxon version used in oXygen
- SAXON_VERSION=9.6.0-7

before_script:
Expand All @@ -10,7 +14,7 @@ before_script:
- bash /tmp/bats/install.sh /tmp/local
- export PATH=$PATH:/tmp/local/bin
# install Saxon
- mkdir -p /tmp/xspec/saxon
- mkdir -p /tmp/xspec/saxon
- export SAXON_CP=/tmp/xspec/saxon/saxon9he.jar
- wget -O ${SAXON_CP} http://central.maven.org/maven2/net/sf/saxon/Saxon-HE/${SAXON_VERSION}/Saxon-HE-${SAXON_VERSION}.jar
- chmod +x ${SAXON_CP}
Expand Down
11 changes: 8 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
environment:
SAXON_CP: '%APPVEYOR_BUILD_FOLDER%\saxon\saxon9he.jar'
matrix:
- SAXON_VER: 9.7.0-14
- SAXON_VER: 9.6.0-7
# latest Saxon 9.7 version
- SAXON_VER: 9.7.0-14
# latest Saxon 9.6 version
- SAXON_VER: 9.6.0-10
# Saxon version used in oXygen
- SAXON_VER: 9.6.0-7

install:
- ps: >-
mkdir -Name "saxon"
Expand All @@ -29,4 +34,4 @@ test_script:
rem execute XSpec unit tests
test\run-xspec-tests.cmd
deploy: off
deploy: off

0 comments on commit f2db6e4

Please sign in to comment.