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 a588991
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 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 @@ -30,24 +33,7 @@ pipeline:
- export DRONE_DIR="/drone"
- 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
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 a588991

Please # to comment.