Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ object CommunityBuildRunner:
* is necessary since we run tests each time on a fresh
* Docker container. We run the update on Docker container
* creation time to create the cache of the dependencies
* and avoid network overhead. See https://github.com/lampepfl/dotty-drone
* for more infrastructural details.
* and avoid network overhead.
*/
extension (self: CommunityProject)
def run()(using suite: CommunityBuildRunner): Unit =
Expand Down
1 change: 0 additions & 1 deletion compiler/test/dotty/Properties.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ object Properties {

/** Are we running on the CI? */
val isRunByCI: Boolean = sys.env.isDefinedAt("DOTTY_CI_RUN")
|| sys.env.isDefinedAt("DRONE") // TODO remove this when we drop Drone

val testCache: Path =
sys.env.get("DOTTY_TEST_CACHE").map(Paths.get(_)).getOrElse {
Expand Down
2 changes: 1 addition & 1 deletion compiler/test/dotty/tools/vulpix/VulpixUnitTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ object VulpixUnitTests extends ParallelTesting {
def maxDuration = 3.seconds
def numberOfSlaves = 5
def safeMode = sys.env.get("SAFEMODE").isDefined
def isInteractive = !sys.env.contains("DRONE")
def isInteractive = !sys.env.contains("DOTTY_CI_RUN")
def testFilter = Nil
def updateCheckFiles: Boolean = false
def failedTests = None
Expand Down
11 changes: 2 additions & 9 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -403,15 +403,8 @@ object Build {
PgpKeys.pgpPassphrase := sys.env.get("PGP_PW").map(_.toCharArray()),
PgpKeys.useGpgPinentry := true,

javaOptions ++= {
val ciOptions = // propagate if this is a CI build
sys.props.get("dotty.drone.mem") match {
case Some(prop) => List("-Xmx" + prop)
case _ => List()
}
// Do not cut off the bottom of large stack traces (default is 1024)
"-XX:MaxJavaStackTraceDepth=1000000" :: agentOptions ::: ciOptions
},
// Do not cut off the bottom of large stack traces (default is 1024)
javaOptions ++= "-XX:MaxJavaStackTraceDepth=1000000" :: agentOptions,

excludeLintKeys ++= Set(
// We set these settings in `commonSettings`, if a project
Expand Down
Loading