Skip to content

Commit

Permalink
Use hoarder to for CI verification builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
romanowski committed May 28, 2017
1 parent e78cb17 commit 48dbe5c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ script:
echo "ensimeServerProjectJars := Nil" >> ensime.sbt ;
- export JAVA_HOME=$(/usr/libexec/java_home)
- curl https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt -o sbt ; chmod 755 sbt
- ./sbt ++$SCALA_VERSION ";ensimeConfig ;test:compile ;it:compile ;ensime/assembly"
- ./sbt ++$SCALA_VERSION ";preBuild ;ensimeConfig ;test:compile ;it:compile ;ensime/assembly; postBuild"
# This is commented out to speed-up hoarder developmnet
#- cd testing/cache && ../../sbt ++$SCALA_VERSION ensimeConfig ensimeServerIndex && cd ../..
#- ./sbt ++$SCALA_VERSION "testOnly -- -l IgnoreOnTravis"
Expand All @@ -22,5 +22,6 @@ cache:
- $HOME/.sbt
- $HOME/.ivy2
- $HOME/.coursier
- .hoarder-cache
notifications:
email: false
4 changes: 4 additions & 0 deletions project/CachedCi.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import org.romanowski.hoarder.actions.ci.TravisPRValidation

object CachedCi extends TravisPRValidation.PluginBase

1 change: 1 addition & 0 deletions project/hoarder.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.github.romanowski" % "hoarder" % "1.0.1-M2")

0 comments on commit 48dbe5c

Please sign in to comment.