Merge "Add centos-src-build tox gate"

This commit is contained in:
Jenkins 2015-08-11 03:34:04 +00:00 committed by Gerrit Code Review
commit 0f2c67d929

16
tox.ini
View File

@ -42,6 +42,22 @@ commands =
sudo -g docker testr run ^(test_images).* sudo -g docker testr run ^(test_images).*
bash -c "if [ -f buildconf.bak ]; then mv buildconf.bak .buildconf; fi" bash -c "if [ -f buildconf.bak ]; then mv buildconf.bak .buildconf; fi"
[testenv:images-centos-src]
whitelist_externals = find
bash
sudo
echo
mv
rm
commands =
bash -c "if [ -f .buildconf ]; then mv .buildconf buildconf.bak; fi"
bash -c "echo PREFIX=centos-source- > .buildconf"
find . -type f -name "*.pyc" -delete
bash -c "if [ ! -d .testrepository ]; then testr init; fi"
sudo -g docker testr run ^(test_images).*
rm -f .buildconf
bash -c "if [ -f buildconf.bak ]; then mv buildconf.bak .buildconf; fi"
[testenv:startenv] [testenv:startenv]
whitelist_externals = bash whitelist_externals = bash
commands = commands =