Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Numeric and Boolean Filter #110

Merged
merged 2 commits into from
Sep 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 6 additions & 30 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,6 @@ script:
# run your tests and build binaries
matrix:
include:
# linux publishable node v4/release
- os: linux
env: BUILDTYPE=release
node_js: 4
# linux publishable node v4/debug
- os: linux
env: BUILDTYPE=debug
node_js: 4
# linux publishable node v6
- os: linux
env: BUILDTYPE=release
node_js: 6
# linux publishable node v6/debug
- os: linux
env: BUILDTYPE=debug
node_js: 6
# linux publishable node v8
- os: linux
env: BUILDTYPE=release
Expand All @@ -71,27 +55,17 @@ matrix:
- os: linux
env: BUILDTYPE=debug
node_js: 10
# osx publishable node v4
- os: osx
osx_image: xcode8.2
env: BUILDTYPE=release
node_js: 4
# osx publishable node v6
- os: osx
osx_image: xcode8.2
env: BUILDTYPE=release
node_js: 6
# osx publishable node v8
- os: osx
osx_image: xcode8.2
osx_image: xcode8.3
env: BUILDTYPE=release
node_js: 8
# osx publishable node v10
- os: osx
osx_image: xcode8.2
osx_image: xcode8.3
env: BUILDTYPE=release
node_js: 10
# Sanitizer build node v4/Debug
# Sanitizer build node v10/Debug
- os: linux
env: BUILDTYPE=debug TOOLSET=asan
sudo: required # workaround https://github.com/mapbox/node-cpp-skel/issues/93
Expand Down Expand Up @@ -137,12 +111,14 @@ matrix:
node_js: 10
# Overrides `script` to publish coverage data to codecov
before_script:
- npm test
- pip install --user codecov
- mason install llvm-cov ${MASON_LLVM_RELEASE}
- mason link llvm-cov ${MASON_LLVM_RELEASE}
- which llvm-cov
- curl -S -f https://codecov.io/bash -o codecov
- chmod +x codecov
script:
- make coverage
- ./codecov -x "llvm-cov gcov" -Z
# Clang format build
- os: linux
Expand Down
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapbox/vtquery",
"version": "0.3.0",
"version": "0.3.1-basic-filter",
"description": "Get features from Mapbox Vector Tiles from a lng/lat query point",
"url": "http://github.com/mapbox/vtquery",
"main": "./lib/index.js",
Expand All @@ -20,7 +20,7 @@
"node-pre-gyp": "~0.10.2"
},
"devDependencies": {
"@mapbox/mvt-fixtures": "^3.2.0",
"@mapbox/mvt-fixtures": "3.6.0",
"aws-sdk": "^2.163.0",
"d3-queue": "^3.0.7",
"minimist": "^1.2.0",
Expand Down
1 change: 1 addition & 0 deletions scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ llvm-profdata merge -output=code.profdata code-*.profraw
llvm-cov report ${CXX_MODULE} -instr-profile=code.profdata -use-color
llvm-cov show ${CXX_MODULE} -instr-profile=code.profdata src/*.cpp -filename-equivalence -use-color
llvm-cov show ${CXX_MODULE} -instr-profile=code.profdata src/*.cpp -filename-equivalence -use-color --format html > /tmp/coverage.html
llvm-cov show ${CXX_MODULE} -instr-profile=code.profdata src/*.cpp -filename-equivalence > coverage.txt
echo "open /tmp/coverage.html for HTML version of this report"
Loading