Skip to content

Commit

Permalink
Setup caching on drone
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Oct 24, 2016
1 parent dd1b0ed commit e70f42b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 47 deletions.
7 changes: 6 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Trigger build 8
build:
image: olafurpg/scalafix:0.0.1
environment:
- COURSIER_CACHE=/drone/cache/coursier
commands:
- export PATH=$PATH:/root/local/bin
- ./bin/setupCI.sh
- ./bin/testAll.sh
cache:
mount:
- /drone/cache
41 changes: 0 additions & 41 deletions bin/nailgun_integration_test.sh

This file was deleted.

1 change: 0 additions & 1 deletion bin/setupCI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
set -e
apt-get install nailgun
alias ng=ng-nailgun
export PATH=$PATH:/root/local/bin
pip install --user codecov
7 changes: 3 additions & 4 deletions bin/testAll.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
set -e

sbt clean coverage test
sbt "; publishLocal ; scripted ; cli/pack"
sbt coverageAggregate

sbt -Dsbt.home.ivy=/drone/cache/ivy2 clean coverage test
sbt -Dsbt.home.ivy=/drone/cache/ivy2 "; publishLocal ; scripted ; cli/pack"
sbt -Dsbt.home.ivy=/drone/cache/ivy2 coverageAggregate

0 comments on commit e70f42b

Please sign in to comment.