From 2f2c0e12fe7835813f73d3074d7a880a5948af11 Mon Sep 17 00:00:00 2001 From: Dean Gardiner Date: Wed, 3 Feb 2016 15:22:06 +1300 Subject: [PATCH] Adjusted [.scrutinizer.yml] dependency installation --- .scrutinizer.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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