Browse code

temporarily remove coverage reports (too slow)

Anton Akhmerov authored on 03/05/2019 13:17:27
Showing 1 changed files
... ...
@@ -168,10 +168,8 @@ check for dependencies installed:
168 168
 .test: &test
169 169
   stage: test
170 170
   script:
171
-    - py.test -r w --cov=kwant --cov-report term --cov-report html --flakes kwant --junitxml=tests.xml --durations=10
171
+    - py.test -r w --flakes kwant --junitxml=tests.xml --durations=10
172 172
   artifacts:
173
-    paths:
174
-      - htmlcov
175 173
     reports:
176 174
       junit: tests.xml
177 175
 
... ...
@@ -253,42 +251,7 @@ check for broken links in doc:
253 251
   allow_failure: true
254 252
 
255 253
 
256
-## Upload coverage reports and dev documentation
257
-
258
-upload coverage:
259
-  stage: deploy
260
-  only:
261
-    - branches@kwant/kwant
262
-  environment:
263
-    name: coverage/$CI_BUILD_REF_NAME
264
-    url: https://kwant-project.org/coverage/$CI_BUILD_REF_SLUG
265
-    on_stop: remove_coverage
266
-  before_script:
267
-    - mkdir -p ~/.ssh
268
-    - echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
269
-  script:
270
-    - mv htmlcov $CI_BUILD_REF_SLUG
271
-    - rsync -rlv -e "$IGNORE_HOSTKEY" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
272
-  after_script:
273
-    - rm -rf ~/.ssh
274
-
275
-
276
-remove_coverage:
277
-  stage: deploy
278
-  only:
279
-    - branches@kwant/kwant
280
-  when: manual
281
-  environment:
282
-    name: coverage/$CI_BUILD_REF_NAME
283
-    action: stop
284
-  before_script:
285
-    - mkdir -p ~/.ssh
286
-    - echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
287
-  script:
288
-    - mkdir empty/
289
-    - rsync -rlv -e "$IGNORE_HOSTKEY" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
290
-  after_script:
291
-    - rm -rf ~/.ssh
254
+## Upload dev documentation
292 255
 
293 256
 
294 257
 upload documentation to the test server: