diff options
| author | Jim Lawson | 2018-11-02 13:56:01 -0700 |
|---|---|---|
| committer | GitHub | 2018-11-02 13:56:01 -0700 |
| commit | 0a6390482a4c895de4ededcecf8c1a8636274edd (patch) | |
| tree | 02979c549e3c16926e2adaf3b398e3fd98e33e2a /build.sbt | |
| parent | 1910f708bb99e906bf83dc13fbedd95d40410d98 (diff) | |
Circleci (#920)
Be consistent with the use of /dev/null for sbt's stdin (force sbt to exit instead of bringing up a dialog).
Enforce Jenkins' scalastyle limit of 40 warnings via CHECKSTYLE_LIMIT in environment.
Force tests to run sequentially if -DminimalResources is set on the command line.
Ensure we see valid scalastyle output.
Make checkstyle dependent on one of the tests (so a style failure will fail the build only after tests pass).
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -99,8 +99,11 @@ lazy val chiselSettings = Seq ( "com.github.scopt" %% "scopt" % "3.7.0" ), - // Tests from other projects may still run concurrently. - parallelExecution in Test := true, + // Tests from other projects may still run concurrently + // if we're not running with -DminimalResources. + // Another option would be to experiment with: + // concurrentRestrictions in Global += Tags.limit(Tags.Test, 1), + Test / parallelExecution := !sys.props.contains("minimalResources"), javacOptions ++= javacOptionsVersion(scalaVersion.value) ) |
