sahara-ci-config/slave-scripts/gate-sahara-pep8-trunk.sh
Denis Egorenko 7251cf1737 Remove source of nonexistent file in pep8 check
Change-Id: I032d46e78b5451a8aabeafa9c623e3929c5cecaf
2015-03-19 21:16:51 +04:00

14 lines
424 B
Bash
Executable File

#!/bin/bash -xe
set -o pipefail
# replace hacking with master tarball
sed -i '/^hacking/d' test-requirements.txt
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
sed -i '/^ignore/d' tox.ini
sed -ie 's/\(^exclude.*\)/\1,*sahara-ci-config*/' tox.ini
tox -v -epep8 -- --statistics | tee pep8.txt