Skip to content

Commit

Permalink
make travis fuseki install more failsafe, fixes RDFLib#475
Browse files Browse the repository at this point in the history
  • Loading branch information
joernhees committed Mar 15, 2015
1 parent 9c9b2a3 commit 7e8bd1d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
17 changes: 17 additions & 0 deletions .travis.fuseki_install_optional.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

set -v

if wget http://archive.eu.apache.org/dist/jena/binaries/jena-fuseki1-1.1.2-distribution-brokenURITest.tar.gz &&
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
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,7 @@ python:
# - "pypy"

before_install:
- wget http://www.eu.apache.org/dist/jena/binaries/jena-fuseki1-1.1.2-distribution.tar.gz
- tar -zxf jena-fuseki*-distribution.tar.gz
- mv jena-fuseki*/ fuseki
- cd fuseki
# 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 ..
- bash .travis.fuseki_install_optional.sh

install:
# iodate0.4.8 is problematic with Pypy, use fixed version
Expand Down

0 comments on commit 7e8bd1d

Please sign in to comment.