This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch chandan/tox-demo-skip-sdist
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit ce722e51915e08012cb23b48f66e07cac3ecd86c
Author: Chandan Singh <[email protected]>
AuthorDate: Mon Jan 14 21:30:07 2019 +0000

    .gitlab-ci.yml: Remove MANIFEST.in before testing
    
    I expect `normal-tests` job to fail, but `skip-sdist` job should
    succeed. Let's see what happens!
---
 .gitlab-ci.yml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c04bbde..73008da 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"

Reply via email to