From 1da7f5ece362a01974309144a3fd49031b20cc8c Mon Sep 17 00:00:00 2001
From: Anton Akhmerov <anton.akhmerov@gmail.com>
Date: Fri, 3 May 2019 13:17:27 +0200
Subject: [PATCH] temporarily remove coverage reports (too slow)

---
 .gitlab-ci.yml | 41 ++---------------------------------------
 1 file changed, 2 insertions(+), 39 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5b91aaa..31254afe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -168,10 +168,8 @@ check for dependencies installed:
 .test: &test
   stage: test
   script:
-    - py.test -r w --cov=kwant --cov-report term --cov-report html --flakes kwant --junitxml=tests.xml --durations=10
+    - py.test -r w --flakes kwant --junitxml=tests.xml --durations=10
   artifacts:
-    paths:
-      - htmlcov
     reports:
       junit: tests.xml
 
@@ -253,42 +251,7 @@ check for broken links in doc:
   allow_failure: true
 
 
-## Upload coverage reports and dev documentation
-
-upload coverage:
-  stage: deploy
-  only:
-    - branches@kwant/kwant
-  environment:
-    name: coverage/$CI_BUILD_REF_NAME
-    url: https://kwant-project.org/coverage/$CI_BUILD_REF_SLUG
-    on_stop: remove_coverage
-  before_script:
-    - mkdir -p ~/.ssh
-    - echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
-  script:
-    - mv htmlcov $CI_BUILD_REF_SLUG
-    - rsync -rlv -e "$IGNORE_HOSTKEY" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
-  after_script:
-    - rm -rf ~/.ssh
-
-
-remove_coverage:
-  stage: deploy
-  only:
-    - branches@kwant/kwant
-  when: manual
-  environment:
-    name: coverage/$CI_BUILD_REF_NAME
-    action: stop
-  before_script:
-    - mkdir -p ~/.ssh
-    - echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
-  script:
-    - mkdir empty/
-    - rsync -rlv -e "$IGNORE_HOSTKEY" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
-  after_script:
-    - rm -rf ~/.ssh
+## Upload dev documentation
 
 
 upload documentation to the test server:
-- 
GitLab