Skip to content

Commit 2a9b62d

Browse files
committed
Use rdf-test-suite for spec testing
1 parent 7b78b04 commit 2a9b62d

File tree

11 files changed

+359
-397
lines changed

11 files changed

+359
-397
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
docs
44
browser/n3*
55
node_modules
6-
spec/*/*
6+
spec/*.ttl
77
coverage
8+
.rdf-test-suite-cache

.travis.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,6 @@ node_js:
66
- "node"
77
env:
88
- DEFAULT_NODE_VERSION=10
9-
addons:
10-
apt:
11-
sources:
12-
- boost-latest
13-
packages:
14-
# for SWObjects
15-
- libboost-all-dev
16-
- uuid-dev
17-
before_script:
18-
- | # Build SWObjects for spec tests
19-
if [ ! -e swobjects/bin/sparql ]; then
20-
rm -rf swobjects
21-
git clone https://github.com/ericprud/SWObjects.git swobjects
22-
pushd swobjects
23-
git checkout 1739b95536d2b7bf516f5543a6cf7e5c46a9a4f9
24-
sed -i 's/^SQL_CLIENTS=.*/SQL_CLIENTS= MYSQL /' CONFIG
25-
sed -i 's/^CRYPTLIB=.*/LDFLAGS += -lltdl -ldl/' CONFIG
26-
make -j2 bin/sparql
27-
popd
28-
fi
29-
- PATH=$PATH:swobjects/bin
30-
- sparql -v
319
script:
3210
- npm run lint
3311
- npm test
@@ -41,10 +19,7 @@ after_success:
4119
./.travis_build_pages;
4220
fi
4321
cache:
44-
apt: true
4522
directories:
4623
- node_modules
47-
- swobjects
48-
- spec/turtle
49-
- spec/trig
24+
- .rdf-test-suite-cache
5025
sudo: false

0 commit comments

Comments
 (0)