diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-03-05 07:12:12 +0300 |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-03-05 07:12:12 +0300 |
commit | ecd67531f114a1f80eed76e0d8225bd1488e9bd2 (patch) | |
tree | 436317c2e8be5a6c3feb06e5a260c38202144071 /testing | |
parent | 890fced0e403297e22c158b26461303c7b1ed5cb (diff) | |
download | scons-ecd67531f114a1f80eed76e0d8225bd1488e9bd2.tar.gz |
buildbot.yml: Create virtualenv
Diffstat (limited to 'testing')
-rw-r--r-- | testing/buildbot.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml index 0bf28569..38986e82 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 |