Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
23dddf8c
Commit
23dddf8c
authored
Sep 22, 2017
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more glibc testing into build script to ensure we test right binaries
parent
ed7e649b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.travis.yml
.travis.yml
+0
-3
build_against_node.sh
scripts/build_against_node.sh
+5
-1
No files found.
.travis.yml
View file @
23dddf8c
...
...
@@ -126,10 +126,7 @@ before_script:
fi
script
:
-
export CXXFLAGS="${CXXFLAGS:-} -include $(pwd)/src/gcc-preinclude.h"
-
if [[ "${NODE_VERSION}" ]]; then ./scripts/build_against_node.sh; fi;
-
nm lib/binding/*/node_sqlite3.node | grep "GLIBCXX_" | c++filt ||
true
-
nm lib/binding/*/node_sqlite3.node | grep "GLIBC_" | c++filt ||
true
-
if [[ "${NODE_VERSION}" -eq "4" ]]; then ./node_modules/.bin/eslint lib; fi;
# disabled for now: need to port to sudo:false
#- if [[ "${NODE_WEBKIT}" ]]; then ./scripts/build_against_node_webkit.sh; fi;
scripts/build_against_node.sh
View file @
23dddf8c
...
...
@@ -19,7 +19,10 @@ if [[ ${COVERAGE} == true ]]; then
npm
test
./py-local/bin/cpp-coveralls
--exclude
node_modules
--exclude
tests
--build-root
build
--gcov-options
'\-lp'
--exclude
docs
--exclude
build/Release/obj/gen
--exclude
deps
>
/dev/null
else
npm install
--build-from-source
--clang
=
1
echo
"building binaries for publishing"
CXXFLAGS
=
"
${
CXXFLAGS
:-}
-include
$(
pwd
)
/src/gcc-preinclude.h"
V
=
1 npm install
--build-from-source
--clang
=
1
nm lib/binding/
*
/node_sqlite3.node |
grep
"GLIBCXX_"
| c++filt
||
true
nm lib/binding/
*
/node_sqlite3.node |
grep
"GLIBC_"
| c++filt
||
true
npm
test
fi
...
...
@@ -27,6 +30,7 @@ fi
publish
# now test building against shared sqlite
echo
"building from source to test against external libsqlite3"
export
NODE_SQLITE3_JSON1
=
no
if
[[
$(
uname
-s
)
==
'Darwin'
]]
;
then
brew install sqlite
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment