From a8834fb5e6ed2dea3dae9c91ed9bb92600a840ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wawrzyk?= Date: Mon, 8 Oct 2018 10:08:51 +0200 Subject: [PATCH] Use matrix for scripted tests --- .drone.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 719710f351..ff4ec601f5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,9 @@ matrix: CI_SCALA_VERSION: - 2.12.6 + RUN_SCRIPTED: + - ./bin/run-ci-scripted.sh + - ./bin/run-ci-scripted-to-jar.sh clone: git: @@ -31,23 +34,13 @@ pipeline: - git fetch --tags && git log | head -n 20 - ./bin/run-ci.sh - scripted_normal: - group: scripted - image: scalacenter/scala-docs:1.3 - when: - ref: [ refs/heads/1.x, refs/tags/*, refs/pull/*/head ] - commands: - - export DRONE_DIR="/drone" - - ./bin/run-ci-scripted.sh - - scripted_to_jar: - group: scripted + scripted: image: scalacenter/scala-docs:1.3 when: ref: [ refs/heads/1.x, refs/tags/*, refs/pull/*/head ] commands: - export DRONE_DIR="/drone" - - ./bin/run-ci-scripted-to-jar.sh + - ${RUN_SCRIPTED} rebuild_cache: image: appleboy/drone-sftp-cache