diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 0e63d5edb..ac4a54de2 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,15 +1,15 @@ build: dependencies: before: - - pip install -t _packages/ https://github.com/FragLegs/pip/archive/patch-for-issue-2953.zip - - pip install -t _packages/ wheel setuptools - - PYTHONPATH=_packages/ python _packages/pip/__main__.py install -r Trakttv.bundle/Contents/Tests/requirements.txt + - pip install --target $PWD/_packages --install-option="--install-scripts=$PWD/_bin" https://github.com/FragLegs/pip/archive/patch-for-issue-2953.zip + - pip install --target $PWD/_packages --install-option="--install-scripts=$PWD/_bin" wheel setuptools + - PATH="$PWD/_bin:$PATH" PYTHONPATH="$PWD/_packages:$PYTHONPATH" python _packages/pip/__main__.py install --requirement Trakttv.bundle/Contents/Tests/requirements.txt environment: python: 2.7.7 tests: override: - - command: ./Tools/run_tests.sh + command: export PATH="$PWD/_bin:/home/scrutinizer/.pyenv/versions/2.7.7/bin:$PATH"; export PYTHONPATH="$PWD/_packages:$PYTHONPATH"; ./Tools/run_tests.sh coverage: file: .coverage format: py-cc