Skip to content

Commit fd0d233

Browse files
author
Dane Springmeyer
committed
more coverage fixes
1 parent 43b5900 commit fd0d233

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ before_install:
3737
- export PUBLISHABLE=${PUBLISHABLE:-true}
3838
- export COVERAGE=${COVERAGE:-false}
3939
- if [[ $(uname -s) == 'Linux' ]]; then
40-
export CXX="clang++-3.5";
41-
export CC="clang-3.5";
40+
export CXX="clang++-3.5";
41+
export CC="clang-3.5";
42+
export PYTHONPATH=$(pwd)/py-local/lib/python2.7/site-packages;
43+
else
44+
export PYTHONPATH=$(pwd)/py-local/lib/python/site-packages;
4245
fi;
4346
- scripts/validate_tag.sh
4447
- source ./scripts/install_node.sh ${NODE_VERSION}
@@ -52,9 +55,9 @@ before_script:
5255
- export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
5356
- if [[ ${COVERAGE} == true ]]; then
5457
if [[ $(uname -s) == 'Linux' ]]; then
55-
PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user cpp-coveralls;
58+
PYTHONUSERBASE=$(pwd)/py-local pip install --user cpp-coveralls;
5659
else
57-
PYTHONUSERBASE=$(pwd)/mason_packages/.link easy_install --user cpp-coveralls;
60+
PYTHONUSERBASE=$(pwd)/py-local easy_install --user cpp-coveralls;
5861
fi;
5962
fi
6063

scripts/build_against_node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function publish() {
1717
if [[ ${COVERAGE} == true ]]; then
1818
CXXFLAGS="--coverage" LDFLAGS="--coverage" npm install --build-from-source --clang=1 --verbose
1919
npm test
20-
./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
20+
./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
2121
else
2222
npm install --build-from-source --clang=1
2323
npm test

0 commit comments

Comments
 (0)