forked from rdfjs/N3.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 926 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: node_js
node_js:
- "4"
- "6"
- "8"
- "node"
addons:
apt:
sources:
- boost-latest
packages:
# for SWObjects
- libboost-all-dev
- uuid-dev
before_script:
- | # Build SWObjects for spec tests
if [ ! -e swobjects/bin/sparql ]; then
rm -rf swobjects
git clone https://github.com/ericprud/SWObjects.git swobjects
pushd swobjects
git checkout 1739b95536d2b7bf516f5543a6cf7e5c46a9a4f9
sed -i 's/^SQL_CLIENTS=.*/SQL_CLIENTS= MYSQL /' CONFIG
sed -i 's/^CRYPTLIB=.*/LDFLAGS += -lltdl -ldl/' CONFIG
make -j2 bin/sparql
popd
fi
- PATH=$PATH:swobjects/bin
- sparql -v
script:
- npm run lint
- npm test
- npm run spec
- npm run browser
- npm run docs
after_success:
- npm run coveralls
- ./.travis_build_pages
cache:
apt: true
directories:
- node_modules
- swobjects
- spec/turtle
- spec/trig
sudo: false