summaryrefslogtreecommitdiff
path: root/.travis.fuseki_install_optional.sh
blob: defdf29dafc39f9b757393f3c73028037659f952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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