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
003d0bfa
Commit
003d0bfa
authored
Nov 02, 2015
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable code coverage
parent
6df7b67b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
.travis.yml
.travis.yml
+12
-0
No files found.
.travis.yml
View file @
003d0bfa
...
...
@@ -82,6 +82,9 @@ matrix:
# OS X
-
os
:
osx
compiler
:
clang
env
:
NODE_VERSION="5" COVERAGE=True PUBLISHABLE=false CXXFLAGS="--coverage" LDFLAGS="--coverage"
# node abi 47
-
os
:
osx
compiler
:
clang
env
:
NODE_VERSION="5"
# node abi 47
-
os
:
osx
compiler
:
clang
...
...
@@ -110,6 +113,7 @@ env:
before_install
:
-
export PUBLISHABLE=${PUBLISHABLE:-true}
-
export COVERAGE=${COVERAGE:-false}
-
if [[ $(uname -s) == 'Linux' ]]; then
export CXX="clang++-3.5";
export CC="clang-3.5";
...
...
@@ -124,8 +128,16 @@ install:
before_script
:
# get commit message
-
export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
-
if [[ ${COVERAGE} ==
true
]]; then
if [[ $(uname -s) == 'Linux' ]]; then
PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user cpp-coveralls;
else
PYTHONUSERBASE=$(pwd)/mason_packages/.link easy_install --user cpp-coveralls;
fi;
fi
script
:
-
if [[ "${NODE_VERSION}" ]]; then ./scripts/build_against_node.sh; fi;
-
if [[ ${COVERAGE} ==
true
]]; then ./mason_packages/.link/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; fi;
# disabled for now: need to port to sudo:false
#- if [[ "${NODE_WEBKIT}" ]]; then ./scripts/build_against_node_webkit.sh; fi;
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