summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-01-02 01:39:01 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-01-02 01:39:01 (GMT)
commitf2f447627771cf53678eb3c4b61fa65c0e53a709 (patch)
treefdc342cf1dfac293464d8c14dcc20f9507ca6272 /.travis.yml
parentcc6145513d6f4b5f0dcafafd8af6ae316feed460 (diff)
downloadSCons-f2f447627771cf53678eb3c4b61fa65c0e53a709.zip
SCons-f2f447627771cf53678eb3c4b61fa65c0e53a709.tar.gz
SCons-f2f447627771cf53678eb3c4b61fa65c0e53a709.tar.bz2
move coverage startuplogic to sitecustomize.py from usercustomize.py
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 0c1c51f..985a544 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -111,10 +111,10 @@ jobs:
- mkdir -p $PYSITEDIR
- export COVERAGE_FILE=$PWD/.coverage
# write the usercustomize.py file so all python processes use coverage and know where the config file is
- - echo "import os" | tee --append ${PYSITEDIR}/usercustomize.py
- - echo "os.environ['COVERAGE_PROCESS_START'] = '$PWD/.coveragerc'" | tee --append ${PYSITEDIR}/usercustomize.py
- - echo "import coverage" | tee --append ${PYSITEDIR}/usercustomize.py
- - echo "coverage.process_startup()" | tee --append ${PYSITEDIR}/usercustomize.py
+ - echo "import os" | tee --append ${PYSITEDIR}/sitecustomize.py
+ - echo "os.environ['COVERAGE_PROCESS_START'] = '$PWD/.coveragerc'" | tee --append ${PYSITEDIR}/sitecustomize.py
+ - echo "import coverage" | tee --append ${PYSITEDIR}/sitecustomize.py
+ - echo "coverage.process_startup()" | tee --append ${PYSITEDIR}/sitecustomize.py
script:
- export TOTAL_BUILD_JOBS=1