File tree 1 file changed +18
-11
lines changed
1 file changed +18
-11
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- before_script :
3
- # Install XSpec for XSL testing
2
+ dist : trusty
3
+ sudo : false
4
+ language : minimal
5
+
6
+ addons :
7
+ apt :
8
+ packages :
9
+ - xsltproc
10
+ - libsaxonhe-java
11
+
12
+ install :
4
13
- git clone -b master https://github.com/xspec/xspec.git /tmp/xspec
5
- # Install Saxon for Xspec
6
- - mkdir -p /tmp/xspec/saxon
7
- - export SAXON_CP=/tmp/xspec/saxon/saxon9he.jar
8
- - wget -O ${SAXON_CP} http://central.maven.org/maven2/net/sf/saxon/Saxon-HE/9.7.0-14/Saxon-HE-9.7.0-14.jar
9
- - chmod +x ${SAXON_CP}
10
-
11
- script :
12
- - echo "Execute Xspec tests for rules compiler"
13
- - /tmp/xspec/bin/xspec.sh $TRAVIS_BUILD_DIR/xsl/test/compile.xspec
14
+
15
+ env :
16
+ global :
17
+ - XSPEC=/tmp/xspec/bin/xspec.sh
18
+ - SAXON_CP=/usr/share/java/Saxon-HE.jar
19
+
20
+ script : " cd xsl && make test XSPEC=$XSPEC"
You can’t perform that action at this time.
0 commit comments