Skip to content

Commit

Permalink
Merge pull request #2 from sbt/wip/travis
Browse files Browse the repository at this point in the history
Travis CI configuration
  • Loading branch information
eed3si9n committed Jun 10, 2020
2 parents 3b3becc + 3a203e8 commit a028928
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6
1.8
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: scala
dist: xenial

jdk: openjdk8

script:
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M test

before_cache:
- find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete

cache:
directories:
- $HOME/.cache/coursier/v1
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
23 changes: 10 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
lazy val commonSettings = Seq(
version in ThisBuild := "0.1.1",
organization in ThisBuild := "com.eed3si9n"
)
ThisBuild / version := "0.1.1"
ThisBuild / organization := "com.eed3si9n"
ThisBuild / publishMavenStyle := false
ThisBuild / description := "a tool to write plugin that downloads and runs an app"
ThisBuild / homepage := Some(url("https://github.com/sbt/sbt-sidedish"))
ThisBuild / scmInfo := Some(ScmInfo(url("https://github.com/sbt/sbt-sidedish"), "git@github.com:sbt/sbt-sidedish.git"))
ThisBuild / licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0"))

lazy val root = (project in file(".")).
settings(commonSettings).
settings(
sbtPlugin := true,
publishMavenStyle := false,
lazy val root = (project in file("."))
.enablePlugins(SbtPlugin)
.settings(
name := "sbt-sidedish",
description := "a tool to write plugin that downloads and runs an app",
homepage := Some(url("https://github.com/sbt/sbt-sidedish")),
scmInfo := Some(ScmInfo(url("https://github.com/sbt/sbt-sidedish"), "git@github.com:sbt/sbt-sidedish.git")),
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0")),
bintrayOrganization in bintray := None,
bintrayRepository := "sbt-plugins"
)
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.3.12
sbt.version=1.2.8
3 changes: 2 additions & 1 deletion src/main/scala/sbtsidedish/Sidedish.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ case class Sidedish(id: String, location: File, scalaVersion0: String,
libraryDependencies ++= modules,
publish := {},
publishLocal := {},
publishSigned := {}
publishSigned := {},
publish / skip := true,
)

val projectRef: ProjectReference = LocalProject(id)
Expand Down

0 comments on commit a028928

Please sign in to comment.