2014-02-18 15:29:14 +04:00
|
|
|
#!/bin/bash -xe
|
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
# replace hacking with master tarball
|
|
|
|
sed -i '/^hacking/d' test-requirements.txt
|
2015-02-10 15:29:33 +03:00
|
|
|
REQS=$(cat test-requirements.txt)
|
|
|
|
echo -e "-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
|