diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2019-01-14 21:30:07 +0000 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2019-01-14 21:30:07 +0000 |
commit | ce722e51915e08012cb23b48f66e07cac3ecd86c (patch) | |
tree | 938d3545254d7f3e9d745336be6154c0d756d55b | |
parent | 70205e2083942bce3f8e0b81bb263df173ecc95e (diff) | |
download | buildstream-chandan/tox-demo-skip-sdist.tar.gz |
.gitlab-ci.yml: Remove MANIFEST.in before testingchandan/tox-demo-skip-sdist
I expect `normal-tests` job to fail, but `skip-sdist` job should
succeed. Let's see what happens!
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c04bbde16..73008da91 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,6 @@ stages: variables: PYTEST_ADDOPTS: "--color=yes" INTEGRATION_CACHE: "${CI_PROJECT_DIR}/cache/integration-cache" - TEST_COMMAND: "tox -- --color=yes --integration" COVERAGE_PREFIX: "${CI_JOB_NAME}." @@ -30,6 +29,9 @@ variables: - mount - df -h + # Remove MANIFEST.in + - rm MANIFEST.in + script: - useradd -Um buildstream - chown -R buildstream:buildstream . @@ -43,3 +45,15 @@ variables: artifacts: paths: - .coverage-reports + +normal-tests: + <<: *tests + + variables: + TEST_COMMAND: "tox -- --color=yes --integration" + +skip-sdist: + <<: *tests + + variables: + TEST_COMMAND: "tox --develop -- --color=yes --integration" |