Skip to content

Commit a412b9c

Browse files
committed
Upgrade the Scalatex readme to Scala 2.12.8.
And optimize the Travis matrix so that we do not redo the readme build for every version of Scala.
1 parent 398f0aa commit a412b9c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ language: scala
33
script:
44
- sbt ++$TRAVIS_SCALA_VERSION package doc example/compile
55
- sbt scalafmtTest
6-
- sbt ++2.11.12 readme/run
76
scala:
87
- 2.10.7
98
- 2.11.12
@@ -18,6 +17,11 @@ matrix:
1817
exclude:
1918
- scala: 2.10.7
2019
env: SCALAJS_VERSION=1.0.0-M7
20+
include:
21+
- scala: 2.12.8
22+
env: SCALAJS_VERSION=0.6.27
23+
script:
24+
- sbt readme/run
2125

2226
cache:
2327
directories:

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ lazy val readme = ScalatexReadme(
111111
source = "Index",
112112
autoResources = Seq("example-opt.js")
113113
).settings(
114-
scalaVersion := "2.11.12",
114+
scalaVersion := "2.12.8",
115115
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings"),
116116
(resources in Compile) += (fullOptJS in (example, Compile)).value.data
117117
)

0 commit comments

Comments
 (0)