Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bok- committed Jan 13, 2021
2 parents 9a560dd + 1dc127e commit 669afce
Show file tree
Hide file tree
Showing 114 changed files with 9,481 additions and 3,720 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docs/assets/js/tree-sitter.js
/target
*.rs.bk
*.a
*.dylib
*.o
*.obj
*.exp
Expand Down
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ language: rust
rust:
- stable

env:
CFLAGS="-Wall -Wextra -Werror -Wstrict-prototypes"

matrix:
include:
- os: osx
Expand All @@ -11,8 +14,8 @@ matrix:

before_install:
# Install node
- nvm install 10
- nvm use 10
- nvm install 12
- nvm use 12

# Download emscripten and create a shorthand for adding it to the PATH.
# Don't add it to the path globally because it overrides the default
Expand All @@ -23,6 +26,9 @@ script:
# Build the WASM binding
- (eval "$WASM_ENV" && script/build-wasm)

# build the shared/static libraries
- make

# Build the CLI
- cargo build --release

Expand All @@ -32,7 +38,6 @@ script:
- (eval "$WASM_ENV" && script/generate-fixtures-wasm)

# Run the tests
- export TREE_SITTER_STATIC_ANALYSIS=1
- script/test
- script/test-wasm
- script/benchmark
Expand All @@ -53,8 +58,6 @@ deploy:
file_glob: true
file:
- "tree-sitter-*.gz"
- "target/release/tree-sitter.js"
- "target/release/tree-sitter.wasm"
draft: true
overwrite: true
skip_cleanup: true
Expand All @@ -65,5 +68,3 @@ cache:
cargo: true
directories:
- target/emsdk
- test/fixtures/grammars
- $HOME/.emscripten_cache
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Loading

0 comments on commit 669afce

Please sign in to comment.