summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2014-03-05 04:12:12 (GMT)
committeranatoly techtonik <techtonik@gmail.com>2014-03-05 04:12:12 (GMT)
commit12753c7775b659aca390b6bc48cf2cb117b8a2c0 (patch)
tree436317c2e8be5a6c3feb06e5a260c38202144071 /testing
parent7d77766255048a05a2f67a0eaa2dfc354ac9e64b (diff)
downloadSCons-12753c7775b659aca390b6bc48cf2cb117b8a2c0.zip
SCons-12753c7775b659aca390b6bc48cf2cb117b8a2c0.tar.gz
SCons-12753c7775b659aca390b6bc48cf2cb117b8a2c0.tar.bz2
buildbot.yml: Create virtualenv
Diffstat (limited to 'testing')
-rw-r--r--testing/buildbot.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml
index 0bf2856..38986e8 100644
--- a/testing/buildbot.yml
+++ b/testing/buildbot.yml
@@ -12,6 +12,7 @@
# botuser can be overridden with -e 'botuser=scons2'
- botuser: scons
- hgrc: /home/{{ botuser }}/.hgrc
+ - venv: /home/{{ botuser }}/buildbot-virtualenv
tasks:
# --- install requirements ---
@@ -21,6 +22,7 @@
- mercurial
- python-virtualenv
+ # --- enable mercurial purge extension ---
- name: create .hgrc if necessary
stat: path={{ hgrc }}
register: st
@@ -30,3 +32,8 @@
ini_file: dest={{ hgrc }} backup=yes
section=extensions option=hgext.purge
value=
+
+ # --- setup virtualenv for buildbot ---
+ - name: setup buildbot-virtualenv
+ command: /usr/bin/virtualenv {{ venv }}
+ creates={{ venv }}/bin