diff options
author | Jörn Hees <joernhees@users.noreply.github.com> | 2015-03-15 20:24:34 +0100 |
---|---|---|
committer | Jörn Hees <joernhees@users.noreply.github.com> | 2015-03-15 20:24:34 +0100 |
commit | 029c7645d6e50c49576f438395e64b276737377b (patch) | |
tree | 0d3f0c2f013f9d0bf9bf676a49ad8dab4878e932 /.travis.fuseki_install_optional.sh | |
parent | 9c9b2a39a3a1655539d6b96b1cf39b438c10e924 (diff) | |
parent | eb1f3bcf245808f9849ccf7e0063e2441cb113ea (diff) | |
download | rdflib-029c7645d6e50c49576f438395e64b276737377b.tar.gz |
Merge pull request #476 from joernhees/travis_fuseki_failsafe
make travis fuseki install more failsafe, fixes #475
[no cci]
Diffstat (limited to '.travis.fuseki_install_optional.sh')
-rw-r--r-- | .travis.fuseki_install_optional.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.fuseki_install_optional.sh b/.travis.fuseki_install_optional.sh new file mode 100644 index 00000000..defdf29d --- /dev/null +++ b/.travis.fuseki_install_optional.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -v + +uri="http://archive.eu.apache.org/dist/jena/binaries/jena-fuseki1-1.1.2-distribution.tar.gz" + +if wget "$uri" && + tar -zxf jena-fuseki*-distribution.tar.gz && + mv jena-fuseki*/ fuseki && + cd fuseki ; then + # normal SPARQLStore & Dataset tests: + bash fuseki-server --port 3030 --debug --update --mem /db &>fuseki.log & + # SPARQLUpdateStore tests & ConjunctiveGraph endpoint behavior: + bash fuseki-server --port 3031 --debug --update --memTDB --set tdb:unionDefaultGraph=true /db &>fuseki.log & + sleep 2 + cd .. +else + echo "fuseki install failed, skipping... please check URI" >&2 +fi |