Unverified Commit c191e61e by Sam Matthews Committed by GitHub

remove coverage (#1062)

* remove coverage

* remove coverage condition
parent 33ba84c3
...@@ -62,13 +62,6 @@ matrix: ...@@ -62,13 +62,6 @@ matrix:
packages: [ 'clang-3.5'] packages: [ 'clang-3.5']
- os: linux - os: linux
compiler: clang compiler: clang
env: NODE_VERSION="5" COVERAGE=true PUBLISHABLE=false
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ]
packages: [ 'clang-3.5']
- os: linux
compiler: clang
env: NODE_VERSION="4" env: NODE_VERSION="4"
addons: addons:
apt: apt:
...@@ -85,9 +78,6 @@ matrix: ...@@ -85,9 +78,6 @@ matrix:
# OS X # OS X
- os: osx - os: osx
compiler: clang compiler: clang
env: NODE_VERSION="5" COVERAGE=true PUBLISHABLE=false # node abi 47
- os: osx
compiler: clang
env: NODE_VERSION="10" # node abi 64 env: NODE_VERSION="10" # node abi 64
- os: osx - os: osx
compiler: clang compiler: clang
...@@ -175,7 +165,6 @@ env: ...@@ -175,7 +165,6 @@ env:
before_install: before_install:
- export PUBLISHABLE=${PUBLISHABLE:-true} - export PUBLISHABLE=${PUBLISHABLE:-true}
- export COVERAGE=${COVERAGE:-false}
- if [[ $(uname -s) == 'Linux' ]]; then - if [[ $(uname -s) == 'Linux' ]]; then
export CXX="clang++-3.5"; export CXX="clang++-3.5";
export CC="clang-3.5"; export CC="clang-3.5";
...@@ -193,14 +182,6 @@ install: ...@@ -193,14 +182,6 @@ install:
before_script: before_script:
# get commit message # get commit message
- export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') - export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
- if [[ ${COVERAGE} == true ]]; then
if [[ $(uname -s) == 'Linux' ]]; then
curl https://bootstrap.pypa.io/get-pip.py | python - --user;
pip install --user cpp-coveralls;
else
PYTHONUSERBASE=$(pwd)/py-local easy_install --user cpp-coveralls;
fi;
fi
script: script:
- if [[ "${NODE_VERSION}" ]]; then - if [[ "${NODE_VERSION}" ]]; then
......
...@@ -13,19 +13,11 @@ function publish() { ...@@ -13,19 +13,11 @@ function publish() {
fi fi
} }
# test installing from source echo "building binaries for publishing"
if [[ ${COVERAGE} == true ]]; then CFLAGS="${CFLAGS:-} -include $(pwd)/src/gcc-preinclude.h" CXXFLAGS="${CXXFLAGS:-} -include $(pwd)/src/gcc-preinclude.h" V=1 npm install --build-from-source --clang=1
CXXFLAGS="--coverage" LDFLAGS="--coverage" npm install --build-from-source --clang=1 nm lib/binding/*/node_sqlite3.node | grep "GLIBCXX_" | c++filt || true
npm test nm lib/binding/*/node_sqlite3.node | grep "GLIBC_" | c++filt || true
cpp-coveralls --exclude node_modules --exclude tests --build-root build --gcov-options '\-lp' --exclude docs --exclude build/Release/obj/gen --exclude deps > /dev/null npm test
else
echo "building binaries for publishing"
CFLAGS="${CFLAGS:-} -include $(pwd)/src/gcc-preinclude.h" 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
publish publish
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment