forked from dita4publishers/dita4publishers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (22 loc) · 1.89 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: java
jdk:
- oraclejdk7
env:
global:
- ANT_OPTS=-Xmx512m
matrix:
- DITA_DIR=DITA-OT1.7.5 -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl CLASSPATH=$DITA_DIR/lib/:$DITA_DIR/lib/dost.jar:$DITA_DIR/lib/commons-codec-1.4.jar:$DITA_DIR/lib/resolver.jar:lib/icu4j.jar:$DITA_DIR/lib/xercesImpl.jar:$DITA_DIR/lib/xml-apis.jar:$DITA_DIR/lib/saxon/saxon9.jar:$DITA_DIR/lib/saxon/saxon9-dom.jar ANT_HOME=$DITA_DIR/tools/ant PATH=$DITA_DIR/tools/ant/bin:$PATH DITA_REPO=http://sourceforge.net/projects/dita-ot/files/DITA-OT%20Stable%20Release/DITA%20Open%20Toolkit%201.7/DITA-OT1.7.5_full_easy_install_bin.tar.gz/download CMD="ant -f $DITA_DIR/test/ant/1.7.5/test_all.xml"
- DITA_DIR=DITA-OT1.8.5 -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl CLASSPATH=$DITA_DIR/lib/:$DITA_DIR/lib/dost.jar:$DITA_DIR/lib/commons-codec-1.4.jar:$DITA_DIR/lib/resolver.jar:lib/icu4j.jar:$DITA_DIR/lib/xercesImpl.jar:$DITA_DIR/lib/xml-apis.jar:$DITA_DIR/lib/saxon/saxon9.jar:$DITA_DIR/lib/saxon/saxon9-dom.jar ANT_HOME=$DITA_DIR/tools/ant PATH=$DITA_DIR/tools/ant/bin:$PATH DITA_REPO=http://sourceforge.net/projects/dita-ot/files/DITA-OT%20Stable%20Release/DITA%20Open%20Toolkit%201.8/DITA-OT1.8.5_full_easy_install_bin.tar.gz/download CMD="ant -f $DITA_DIR/test/ant/1.8.5/test_all.xml"
# Disable version 2.0, will be put in a separated branch
# - DITA_DIR=DITA-OT2.0 DITA_REPO=https://github.com/dita-ot/dita-ot/releases/download/2.0/DITA-OT2.0_client_bin.tar.gz PATH=$DITA_DIR/bin:$PATH CMD=$DITA_DIR/test/bin/test_all.sh
before_script:
- chmod +x travis/travis-before-install.sh
- chmod +x travis/run-tests.sh
before_install:
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- ./travis/travis-before-install.sh
script: "./travis/run-tests.sh"
# Handle git submodules yourself
git:
submodules: false