summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-04-21 11:37:37 +0200
committerAzul <azul@riseup.net>2017-04-21 14:42:59 +0200
commitc643f2fd25e8e47b6769b91f8914f8f217d8838a (patch)
tree04853e054464fa9477062af3b51fb8ca8d724d80
parenta5ba112d8c6bc068de9c499600452b77d40d7a8b (diff)
ci: logs and debug files as artifacts
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 68ffe1e..85ada41 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,11 +2,21 @@ ruby2-1:
image: "ruby:2.1"
script:
- bundle exec rake test
+ artifacts:
+ when: on_failure
+ paths:
+ - log/test.log
+ - tmp/*.log
+ - tmp/*.png
ruby2-3:
image: "ruby:2.3"
script:
- bundle exec rake test
+ artifacts:
+ when: on_failure
+ paths:
+ - log/test.log
services:
- couchdb:1.6.1