2014-02-18 15:29:14 +04:00
|
|
|
#!/bin/bash -xe
|
|
|
|
|
2014-07-23 17:52:20 +04:00
|
|
|
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack sahara
|
2014-02-18 15:29:14 +04:00
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
# replace hacking with master tarball
|
|
|
|
sed -i '/^hacking/d' test-requirements.txt
|
|
|
|
echo -e "-f http://tarballs.openstack.org/hacking/hacking-master.tar.gz#egg=hacking-master\nhacking==master\n$(cat test-requirements.txt)" > test-requirements.txt
|
|
|
|
|
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
|