Skip to content

Commit 1e71de8

Browse files
authored
Merge pull request jaliss#619 from jtjeferreira/travis
Travis CI
2 parents d897044 + ada7c85 commit 1e71de8

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

.travis.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Use container-based infrastructure
2+
sudo: false
3+
4+
language: scala
5+
scala:
6+
- 2.11.12
7+
- 2.12.6
8+
9+
# These directories are cached to S3 at the end of the build
10+
cache:
11+
directories:
12+
- $HOME/.ivy2/cache
13+
- $HOME/.sbt/boot/
14+
15+
before_cache:
16+
# Tricks to avoid unnecessary cache updates
17+
- find $HOME/.sbt -name "*.lock" | xargs rm
18+
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

project/Common.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
object Common {
44
def version = "master-SNAPSHOT"
55
def playVersion = System.getProperty("play.version", "2.6.12")
6-
def scalaVersion = System.getProperty("scala.version", "2.12.4")
6+
def scalaVersion = System.getProperty("scala.version", "2.12.6")
77
def crossScalaVersions = Seq(scalaVersion, "2.11.12")
88
}

samples/java/demo/build.sbt

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ version := Common.version
66

77
scalaVersion := Common.scalaVersion
88

9+
crossScalaVersions := Common.crossScalaVersions
10+
911
libraryDependencies ++= Seq("ws.securesocial" %% "securesocial" % version.value, javaCore, guice)
1012

1113
resolvers += Resolver.sonatypeRepo("snapshots")

samples/scala/demo/build.sbt

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ version := Common.version
66

77
scalaVersion := Common.scalaVersion
88

9+
crossScalaVersions := Common.crossScalaVersions
10+
911
libraryDependencies ++= Seq(
1012
specs2 % "test",
1113
"ws.securesocial" %% "securesocial" % version.value,

0 commit comments

Comments
 (0)