Files
sahara-ci-config/slave-scripts/gate-sahara-pep8-trunk.sh
Denis Egorenko 22275a32f5 Global refactoring of CI scripts
Global refactoring is include:
* drop Icehouse support;
* improvements nodepool's slave installing script;
* remove deprecated jobs;
* create config template for old integration tests;
* create config files for PYPI;
* improve and refactor function.sh, execution tests scripts;

Change-Id: Id6b6c9dd5f3f1bf500e0b2172f8cfc82a4fc9a62
2015-03-18 19:53:56 +04:00

16 lines
499 B
Bash
Executable File

#!/bin/bash -xe
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack sahara
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