Skip to content

Commit

Permalink
First version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tpt committed Jan 2, 2023
1 parent 3cbd07a commit 867bdb6
Show file tree
Hide file tree
Showing 16 changed files with 3,877 additions and 66 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/target
/tests/cache
/tree-sitter/src
/tree-sitter/node_modules
44 changes: 44 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
image: "rust:latest"

fmt:
before_script:
- rustup component add rustfmt
script:
- cargo fmt --check

clippy:
before_script:
- apt-get update -yqq
- apt-get install clang nodejs -yqq
- rustup component add clippy
script:
- cargo clippy --all-targets --all-features

clippy_msrv:
before_script:
- apt-get update -yqq
- apt-get install clang nodejs -yqq
- rustup override set 1.65.0
- rustup component add clippy
script:
- cargo clippy --all-targets --all-features -- -D warnings -D clippy::all

test:
before_script:
- apt-get update -yqq
- apt-get install clang nodejs -yqq
- rustup component add clippy
script:
- cargo test
cache:
key: w3c-testsuite
paths:
- tests/cache

python:
before_script:
- apt-get update -yqq
- apt-get install clang nodejs python3-pip -yqq
script:
- pip install .
- turtlefmt --check tests/to.simple.ttl
Loading

0 comments on commit 867bdb6

Please sign in to comment.