2014-02-18 15:29:14 +04:00
|
|
|
#!/bin/bash -xe
|
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
2016-02-09 11:07:00 +03:00
|
|
|
# replace hacking and bashate with master tarball
|
2014-02-18 15:29:14 +04:00
|
|
|
sed -i '/^hacking/d' test-requirements.txt
|
2016-02-09 11:07:00 +03:00
|
|
|
sed -i '/^bashate/d' test-requirements.txt
|
|
|
|
|
2015-02-10 15:29:33 +03:00
|
|
|
REQS=$(cat test-requirements.txt)
|
2016-02-09 11:07:00 +03:00
|
|
|
echo -e "-f http://tarballs.openstack.org/bashate/bashate-master.tar.gz#egg=bashate-master\nbashate==master\n\
|
|
|
|
-f http://tarballs.openstack.org/hacking/hacking-master.tar.gz#egg=hacking-master\nhacking==master\n${REQS}" > test-requirements.txt
|
2014-02-18 15:29:14 +04:00
|
|
|
|
2014-06-16 18:33:38 +04:00
|
|
|
sed -i '/^ignore/d' tox.ini
|
2014-06-20 18:52:16 +04:00
|
|
|
sed -ie 's/\(^exclude.*\)/\1,*sahara-ci-config*/' tox.ini
|
2014-06-16 18:33:38 +04:00
|
|
|
|
2014-02-18 15:29:14 +04:00
|
|
|
tox -v -epep8 -- --statistics | tee pep8.txt
|