Skip to content

Commit 19e8ced

Browse files
committed
Build cleanup
1 parent 76ccec7 commit 19e8ced

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
language: scala
22
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
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:
1311
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: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ name := "scala-parser-combinators"
44

55
version := "1.0.0-SNAPSHOT"
66

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

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

12+
libraryDependencies ++= Seq(
13+
"junit" % "junit" % "4.11" % "test",
14+
"com.novocode" % "junit-interface" % "0.10" % "test")
15+
1716
// don't use for doc scope, scaladoc warnings are not to be reckoned with
18-
scalacOptions in compile ++= Seq("-optimize", "-Xfatal-warnings", "-feature", "-deprecation", "-unchecked", "-Xlint")
17+
// TODO: turn on for nightlies, but don't enable for PR validation... "-Xfatal-warnings"
18+
scalacOptions in compile ++= Seq("-optimize", "-feature", "-deprecation", "-unchecked", "-Xlint")
1919

2020

2121
// Generate $name.properties to store our version as well as the scala version used to build
@@ -81,8 +81,6 @@ pomExtra := (
8181
</developers>
8282
)
8383

84-
libraryDependencies ++= Seq("junit" % "junit" % "4.11" % "test", "com.novocode" % "junit-interface" % "0.10" % "test")
85-
8684
osgiSettings
8785

8886
val osgiVersion = version(_.replace('-', '.'))

0 commit comments

Comments
 (0)