Skip to content

Commit 867bdb6

Browse files
committed
First version
1 parent 3cbd07a commit 867bdb6

16 files changed

+3877
-66
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/target
2+
/tests/cache
3+
/tree-sitter/src
4+
/tree-sitter/node_modules

.gitlab-ci.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
image: "rust:latest"
2+
3+
fmt:
4+
before_script:
5+
- rustup component add rustfmt
6+
script:
7+
- cargo fmt --check
8+
9+
clippy:
10+
before_script:
11+
- apt-get update -yqq
12+
- apt-get install clang nodejs -yqq
13+
- rustup component add clippy
14+
script:
15+
- cargo clippy --all-targets --all-features
16+
17+
clippy_msrv:
18+
before_script:
19+
- apt-get update -yqq
20+
- apt-get install clang nodejs -yqq
21+
- rustup override set 1.65.0
22+
- rustup component add clippy
23+
script:
24+
- cargo clippy --all-targets --all-features -- -D warnings -D clippy::all
25+
26+
test:
27+
before_script:
28+
- apt-get update -yqq
29+
- apt-get install clang nodejs -yqq
30+
- rustup component add clippy
31+
script:
32+
- cargo test
33+
cache:
34+
key: w3c-testsuite
35+
paths:
36+
- tests/cache
37+
38+
python:
39+
before_script:
40+
- apt-get update -yqq
41+
- apt-get install clang nodejs python3-pip -yqq
42+
script:
43+
- pip install .
44+
- turtlefmt --check tests/to.simple.ttl

0 commit comments

Comments
 (0)