Skip to content

Commit

Permalink
Use matrix for scripted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszwawrzyk committed Oct 8, 2018
1 parent e9920ce commit a8834fb
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a8834fb

Please # to comment.