summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-12-29 20:51:52 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-12-29 20:51:52 (GMT)
commit45699b6c069b2cb15eff3c3dec0cb325680ab3c9 (patch)
tree5548f48c5e11e45e213c291b72064dc3795fcadb /.travis.yml
parent2d2e281765f411b659f19d1ef2ce825a0d07b767 (diff)
downloadSCons-45699b6c069b2cb15eff3c3dec0cb325680ab3c9.zip
SCons-45699b6c069b2cb15eff3c3dec0cb325680ab3c9.tar.gz
SCons-45699b6c069b2cb15eff3c3dec0cb325680ab3c9.tar.bz2
debugging coverage failures
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 7b57af9..3758925 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -119,8 +119,8 @@ jobs:
# set this ensure user sites are available
- export PYTHONNOUSERSITE=
# attempt to get a location where we can store the usercustomize.py file
- - python$PYTHON -m site
- - export PYSITEDIR=$(python$PYTHON -m site --user-site)
+ - python -m site
+ - export PYSITEDIR=$(python -m site --user-site)
- sudo mkdir -p $PYSITEDIR
- sudo touch ${PYSITEDIR}/usercustomize.py
- export COVERAGE_FILE=$PWD/.coverage
@@ -143,7 +143,7 @@ jobs:
- echo "[report]" >> .coveragerc
- printf "omit =\n\t*Tests.py\n\tsrc/test_*\n\tsrc/setup.py\n\n" >> .coveragerc
# get a list of all the tests to split them up
- - python$PYTHON runtest.py -l -a > all_tests
+ - python runtest.py -l -a > all_tests
- let "start = ($(wc -l < all_tests) / ${TOTAL_BUILD_JOBS}) * (${BUILD_JOB_NUM} - 1)"; true;
- let "end = ($(wc -l < all_tests) / ${TOTAL_BUILD_JOBS}) * ${BUILD_JOB_NUM}"
- if (( ${BUILD_JOB_NUM} == ${TOTAL_BUILD_JOBS} )); then end=$(wc -l < all_tests); fi