Skip to content

Commit 4482e67

Browse files
committed
Run spec tests on Travis.
1 parent 416a951 commit 4482e67

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,42 @@ node_js:
44
- "6"
55
- "8"
66
- "node"
7+
addons:
8+
apt:
9+
sources:
10+
- boost-latest
11+
packages:
12+
# for SWObjects
13+
- libboost-all-dev
14+
- uuid-dev
15+
before_script:
16+
- | # Build SWObjects for spec tests
17+
if [ ! -e swobjects/bin/sparql ]; then
18+
rm -rf swobjects
19+
git clone https://github.com/ericprud/SWObjects.git swobjects
20+
pushd swobjects
21+
git checkout 1739b95536d2b7bf516f5543a6cf7e5c46a9a4f9
22+
sed -i 's/^SQL_CLIENTS=.*/SQL_CLIENTS= MYSQL /' CONFIG
23+
sed -i 's/^CRYPTLIB=.*/LDFLAGS += -lltdl -ldl/' CONFIG
24+
make -j2 bin/sparql
25+
popd
26+
fi
27+
- PATH=$PATH:swobjects/bin
28+
- sparql -v
729
script:
830
- npm run lint
931
- npm test
32+
- npm run spec
1033
- npm run browser
1134
- npm run docs
1235
after_success:
1336
- npm run coveralls
1437
- ./.travis_build_pages
1538
cache:
39+
apt: true
1640
directories:
1741
- node_modules
42+
- swobjects
43+
- spec/turtle
44+
- spec/trig
1845
sudo: false

0 commit comments

Comments
 (0)