File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function publish() {
1717if [[ ${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
2121else
2222 npm install --build-from-source --clang=1
2323 npm test
You can’t perform that action at this time.
0 commit comments