diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-13 13:51:24 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-13 13:51:24 +0100 |
commit | a4a323857a2958c4c24dd625ee289bdb2a293e30 (patch) | |
tree | 89117d8a44a0e880b56bf25e9c25234ecbb2c784 | |
parent | b1552ea657a0d9da7ee8733334a02a2f92dc7f97 (diff) | |
download | buildstream-sam/no-install-python-deps.tar.gz |
.gitlab-ci.yml: Use `pip3 install --no-index` when installing BuildStreamsam/no-install-python-deps
This means we don't download anything from PyPI during the BuildStream
tests. Everything used is already in the Docker image.
This also removes an unnecessary `pip3 install coverage` call. The
Coverage library contained in the Docker image.
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b21c7551..ecb6d31b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ integration_linux: stage: test script: - - pip3 install . + - pip3 install --no-index . - git clone https://gitlab.com/BuildStream/buildstream-tests.git - cd buildstream-tests - ./run-test.sh --arg --colors --cov ../.coveragerc test @@ -72,7 +72,7 @@ integration_unix: variables: BST_FORCE_BACKEND: "unix" script: - - pip3 install . + - pip3 install --no-index . - git clone https://gitlab.com/BuildStream/buildstream-tests.git - cd buildstream-tests - ./run-test.sh --arg --colors --cov ../.coveragerc test @@ -91,8 +91,7 @@ integration_unix: coverage: stage: coverage script: - - pip3 install coverage - - pip3 install . + - pip3 install --no-index . - mkdir report - cd report - cp ../coverage-linux/coverage.linux .coverage @@ -117,7 +116,7 @@ pages: - dnf install -y python2 - pip3 install sphinx - pip3 install sphinx-click - - pip3 install --user -e . + - pip3 install --user -e --no-index . - make -C doc - mv doc/build/html public artifacts: |