summaryrefslogtreecommitdiff
path: root/.travis.fuseki_install_optional.sh
blob: 49e91f2c10663944f4286e1914d5cf55896c8a49 (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.apache.org/dist/jena/binaries/apache-jena-fuseki-2.4.0.tar.gz"

if wget "$uri" &&
       tar -zxf *jena*fuseki*.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