Align tasty file lookup with dotty, add test case #10694
Merged
Travis CI / Travis CI - Branch
succeeded
Feb 19, 2024 in 26m 23s
Build Passed
The build passed, just like the previous build.
Details
This is a normal build for the tasty/test-classpath-standalone-obj branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build has two jobs, running in parallel.
Stage 1: build
This stage passed.
Job | Ruby | ENV | OS | State |
---|---|---|---|---|
19585.1 publish (bootstrapped) to scala-integration or sonatype | ADOPTOPENJDK=8 | Linux | passed | |
19585.2 language spec | 2.7 | ADOPTOPENJDK=8 | Linux | passed |
Build Configuration
Build Option | Setting |
---|---|
Language | Scala |
Operating System | Linux (Xenial) |
Build Configuration
{
"templates": {
"pr-jdk8": {
"if": "type = pull_request OR repo != scala/scala"
},
"cron-jdk17": {
"if": "type = cron AND repo = scala/scala",
"env": "ADOPTOPENJDK=17"
},
"build-for-testing": {
"stage": "build",
"name": "build, publishLocal, build again",
"script": [
"set -e",
"sbt -Dsbt.io.jdktimestamps=true setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest compile"
],
"workspaces": {
"create": {
"name": "bootstrapped",
"paths": [
"buildcharacter.properties",
"$HOME/.ivy2/local/org.scala-lang",
"target",
"project/target",
"project/project/target",
"project/project/project/target",
"dist",
"build"
]
}
}
},
"test1": {
"stage": "test",
"name": "tests (junit, scalacheck, et al)",
"workspaces": {
"use": "bootstrapped"
},
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest Test/compile testAll1"
]
},
"test2": {
"stage": "test",
"name": "tests (partest)",
"workspaces": {
"use": "bootstrapped"
},
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest testAll2"
]
}
},
"language": "scala",
"os": [
"linux"
],
"dist": "xenial",
"version": "~> 1.0",
"stages": [
{
"name": "build"
},
{
"name": "test"
}
],
"jobs": {
"include": [
{
"stage": "build",
"if": "(type = push OR type = api) AND repo = scala/scala",
"name": "publish (bootstrapped) to scala-integration or sonatype",
"script": [
"set -e",
"(cd admin && ./init.sh)",
"source scripts/common",
"source scripts/bootstrap_fun",
"determineScalaVersion",
"removeExistingBuilds $integrationRepoUrl",
"if [ ! -z \"$STARR_REF\" ]; then buildStarr; fi",
"buildLocker",
"buildQuick",
"triggerScalaDist"
]
},
{
"workspaces": {
"create": {
"name": "bootstrapped",
"paths": [
"buildcharacter.properties",
"$HOME/.ivy2/local/org.scala-lang",
"target",
"project/target",
"project/project/target",
"project/project/project/target",
"dist",
"build"
]
}
},
"stage": "build",
"name": "build, publishLocal, build again",
"script": [
"set -e",
"sbt -Dsbt.io.jdktimestamps=true setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest compile"
],
"if": "type = pull_request OR repo != scala/scala"
},
{
"workspaces": {
"use": "bootstrapped"
},
"stage": "test",
"name": "tests (junit, scalacheck, et al)",
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest Test/compile testAll1"
],
"if": "type = pull_request OR repo != scala/scala"
},
{
"workspaces": {
"use": "bootstrapped"
},
"stage": "test",
"name": "tests (partest)",
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest testAll2"
],
"if": "type = pull_request OR repo != scala/scala"
},
{
"workspaces": {
"create": {
"name": "bootstrapped",
"paths": [
"buildcharacter.properties",
"$HOME/.ivy2/local/org.scala-lang",
"target",
"project/target",
"project/project/target",
"project/project/project/target",
"dist",
"build"
]
}
},
"stage": "build",
"name": "build, publishLocal, build again",
"script": [
"set -e",
"sbt -Dsbt.io.jdktimestamps=true setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest compile"
],
"if": "type = cron AND repo = scala/scala",
"env": [
{
"ADOPTOPENJDK": "17"
}
]
},
{
"workspaces": {
"use": "bootstrapped"
},
"stage": "test",
"name": "tests (junit, scalacheck, et al)",
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest Test/compile testAll1"
],
"if": "type = cron AND repo = scala/scala",
"env": [
{
"ADOPTOPENJDK": "17"
}
]
},
{
"workspaces": {
"use": "bootstrapped"
},
"stage": "test",
"name": "tests (partest)",
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dstarr.version=$STARR setupValidateTest testAll2"
],
"if": "type = cron AND repo = scala/scala",
"env": [
{
"ADOPTOPENJDK": "17"
}
]
},
{
"workspaces": {
"use": "bootstrapped"
},
"stage": "test",
"name": "build library with Scala 3",
"if": "type = pull_request OR repo != scala/scala",
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true -Dscala.build.compileWithDotty=true library/compile"
]
},
{
"workspaces": {
"use": "bootstrapped"
},
"name": "build benchmarks",
"if": "type = pull_request OR repo != scala/scala",
"script": [
"set -e",
"STARR=$(sed -n 's/^maven\\.version\\.number=//p' buildcharacter.properties) && echo $STARR",
"sbt -Dsbt.io.jdktimestamps=true bench/Jmh/compile"
]
},
{
"stage": "build",
"if": "type = pull_request OR type = push",
"name": "language spec",
"dist": "focal",
"language": "ruby",
"rvm": "2.7",
"install": [
"ruby -v",
"gem install bundler -v \"< 2.5\"",
"bundler --version",
"bundle install --path vendor/bundle",
"sudo apt-get update",
"sudo apt-get install -y build-essential xorg xfonts-75dpi libpng16-16 libssl1.1",
"wget --quiet \"https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb\"",
"sudo dpkg -i \"wkhtmltox_0.12.6-1.bionic_amd64.deb\"",
"rm \"wkhtmltox_0.12.6-1.bionic_amd64.deb\""
],
"script": [
"set -e",
"(cd admin && ./init.sh)",
"bundle exec jekyll build -s spec/ -d build/spec",
"export JEKYLL_ENV=spec-pdf",
"bundle exec jekyll build -s spec/ -d build/spec-pdf",
"./scripts/generate-spec-pdf.sh"
],
"after_success": [
"./scripts/travis-publish-spec.sh"
]
}
]
},
"env": [
"global={:ADOPTOPENJDK=>\"8\"}=PRIV_KEY_SECRET=[secure]=PRIVATE_REPO_PASS=[secure]=GPG_SUBKEY_SECRET=[secure]=TRAVIS_TOKEN=[secure]=SONA_USER=[secure]=SONA_PASS=[secure]"
],
"cache": {
"directories": [
"$HOME/.ivy2/cache",
"$HOME/.sbt",
"$HOME/.sdkman",
"$HOME/.cache/coursier",
"$HOME/.rvm"
]
},
"notifications": {
"slack": [
{
"rooms": [
"typesafe:WoewGgHil2FkdGzJyV3phAhj"
],
"if": "(type = cron OR type = push) AND repo = scala/scala",
"on_success": "never",
"on_failure": "change"
}
],
"webhooks": [
{
"urls": [
"https://scala-ci.typesafe.com/benchq/webhooks/travis"
]
}
]
},
"before_install": [
"# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation\n[[ -d $HOME/.sdkman/bin/ ]] || rm -rf $HOME/.sdkman/\ncurl -sL https://get.sdkman.io | bash\necho sdkman_auto_answer=true > $HOME/.sdkman/etc/config\necho sdkman_auto_selfupdate=true >> $HOME/.sdkman/etc/config\nsource $HOME/.sdkman/bin/sdkman-init.sh\nsdkJava=$(sdk list java | grep -o \" $ADOPTOPENJDK\\.[0-9\\.]*-tem\" | head -1 | cut -c2-)\n# if we didn't find Temurin, accept an early access build from Java.net\nif [[ -z $sdkJava ]]; then sdkJava=$(sdk list java | egrep -o \" $ADOPTOPENJDK\\\\.ea.[0-9]+-open\" | head -1 | cut -c2-); fi\nif [[ -z $sdkJava ]]; then sdk list java; echo \"no matching JDK found: $ADOPTOPENJDK\"; travis_terminate 1; fi\nsdk install java $sdkJava || true # install fails if it's already installed\nsdk use java $sdkJava\nunset JAVA_HOME\nif [[ $ADOPTOPENJDK == 8 ]]; then versionPrefix=\"1\\.8\"; else versionPrefix=$ADOPTOPENJDK; fi\njava -version\n",
"java -version 2>&1 | grep 'OpenJDK.*[^0-9]'$versionPrefix'[^0-9]' || exit 1",
"unset SBT_OPTS\nunset JVM_OPTS\nunset SBT_ETC_FILE\ncurl -L --silent \"https://raw.githubusercontent.com/sbt/sbt/1.6.x/sbt\" > $HOME/sbt\nchmod +x $HOME/sbt && sudo mv $HOME/sbt /usr/local/bin/sbt\n"
],
"before_cache": [
"rm -fv $HOME/.ivy2/.sbt.ivy.lock",
"rm -fv $HOME/.sdkman/var/broadcast",
"rm -fv $HOME/.sdkman/var/broadcast_id",
"find $HOME/.ivy2/cache -name \"ivydata-*.properties\" -print -delete",
"find $HOME/.sbt -name \"*.lock\" -print -delete",
"find $HOME/.sbt -name \"*compiler-bridge_*-bin-*\" -print -delete"
]
}