Merge "Fix tests when executed by Jenkins slaves"

This commit is contained in:
Jenkins 2015-09-07 07:46:04 +00:00 committed by Gerrit Code Review
commit 52082618d3
2 changed files with 13 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.bundled_gems/

14
tox.ini
View File

@ -5,15 +5,25 @@ skipsdist = True
[testenv:heka]
deps =
changedir = {toxinidir}/deployment_scripts/puppet/modules/{envname}
whitelist_externals = bundle
whitelist_externals =
bundle
mkdir
setenv =
GEM_HOME={toxinidir}/.bundled_gems
commands =
mkdir -p {toxinidir}/.bundled_gems
bundle install
bundle exec rake test
[testenv:lma_collector]
deps =
changedir = {toxinidir}/deployment_scripts/puppet/modules/{envname}
whitelist_externals = bundle
whitelist_externals =
bundle
mkdir
setenv =
GEM_HOME={toxinidir}/.bundled_gems
commands =
mkdir -p {toxinidir}/.bundled_gems
bundle install
bundle exec rake test