Skip to content

Commit b9ea290

Browse files
committed
Re-introduce symbolic link for ivy HOME
1 parent 7516149 commit b9ea290

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pipeline:
3434
image: lampepfl/dotty:2017-09-08
3535
commands:
3636
- cp -R . /tmp/4/ && cd /tmp/4/
37-
- ./project/scripts/sbt ";publishLocal ;sbt-dotty/scripted"
37+
- ./project/scripts/sbt sbt-dotty/scripted
3838
# when:
3939
# # sbt scripted tests are slow and don't run on PRs
4040
# event: [ push, tag, deployment ]

project/scripts/sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ if [ -z "$CMD" ]; then
1010
exit 1
1111
fi
1212

13+
ln -s /var/cache/drone/ivy2 "$HOME/.ivy2"
14+
1315
# run sbt with the supplied arg
1416
sbt -J-Xmx4096m \
1517
-J-XX:ReservedCodeCacheSize=512m \
1618
-J-XX:MaxMetaspaceSize=1024m \
1719
-Ddotty.drone.mem=4096m \
18-
-ivy /var/cache/drone/ivy2 \
1920
"$CMD"

0 commit comments

Comments
 (0)