Skip to content

Commit 9ef175b

Browse files
committed
Build cleanup
1 parent 08814e2 commit 9ef175b

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
language: scala
2-
script:
3-
- sbt ++$TRAVIS_SCALA_VERSION 'set concurrentRestrictions in Global += Tags.limit(Tags.Compile, 2)' compile test:compile
4-
- sbt ++$TRAVIS_SCALA_VERSION 'set concurrentRestrictions in Global += Tags.limit(Tags.Test, 1)' test
2+
script:
3+
- sbt ++$TRAVIS_SCALA_VERSION clean update compile test
54
scala:
6-
- 2.10.3
75
- 2.11.0-SNAPSHOT
86
jdk:
97
- oraclejdk6
108
- openjdk7
119
notifications:
1210
email:
13-
11+
12+
13+
# if we get weird timeouts, see https://github.com/spray/spray/pull/233
14+
# 'set concurrentRestrictions in Global += Tags.limit(Tags.Test, 1)'

build.sbt

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,21 @@ name := "scala-xml"
55
version := "1.0.0-SNAPSHOT"
66

77
// standard stuff follows:
8-
scalaVersion := "2.11.0-M6"
9-
10-
// NOTE: not necessarily equal to scalaVersion
11-
// (e.g., during PR validation, we override scalaVersion to validate,
12-
// but don't rebuild scalacheck, so we don't want to rewire that dependency)
13-
scalaBinaryVersion := "2.11.0-M6"
8+
scalaVersion := "2.11.0-M7"
149

1510
// to allow compiling against snapshot versions of Scala
1611
resolvers += Resolver.sonatypeRepo("snapshots")
1712

18-
// don't use for doc scope, scaladoc warnings are not to be reckoned with
19-
scalacOptions in compile ++= Seq("-optimize", "-Xfatal-warnings", "-feature", "-deprecation", "-unchecked", "-Xlint")
20-
2113
libraryDependencies ++= Seq(
2214
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "test", // used in CompilerErrors test
2315
"junit" % "junit" % "4.11" % "test",
2416
"com.novocode" % "junit-interface" % "0.10" % "test")
2517

18+
19+
// don't use for doc scope, scaladoc warnings are not to be reckoned with
20+
// TODO: turn on for nightlies, but don't enable for PR validation... "-Xfatal-warnings"
21+
scalacOptions in compile ++= Seq("-optimize", "-feature", "-deprecation", "-unchecked", "-Xlint")
22+
2623
// Generate $name.properties to store our version as well as the scala version used to build
2724
resourceGenerators in Compile <+= Def.task {
2825
val props = new java.util.Properties

0 commit comments

Comments
 (0)