Travis: Use openjdk9, oraclejdk9, openjdk8#97
Open
olleolleolle wants to merge 1 commit intojruby:masterfrom
Open
Travis: Use openjdk9, oraclejdk9, openjdk8#97olleolleolle wants to merge 1 commit intojruby:masterfrom
olleolleolle wants to merge 1 commit intojruby:masterfrom
Conversation
Drop unused sudo: false directive
Member
Author
|
Oh, this has rotted on the vine, Travis CI needs replacing. Perhaps a GitHub Actions CI would be OK? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR configures Travis build settings. 🛠️
Background
Example of failed build: https://travis-ci.org/github/mkristian/jbundler/jobs/642414727
I began, by appointing
jdkvalues which exist.Solution
Try to use JDKs existing in Travis CI. ❓ I don't know which of these will be fine.
Also: Drop unused
sudo: falsedirective.Details
$ ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
Downloading https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.1/apache-maven-3.3.1-bin.zip
........................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/travis/.m2/wrapper/dists/apache-maven-3.3.1-bin/22bc38rir9hjukbpmqefdsp306/apache-maven-3.3.1-bin.zip to /home/travis/.m2/wrapper/dists/apache-maven-3.3.1-bin/22bc38rir9hjukbpmqefdsp306
Set executable permissions for: /home/travis/.m2/wrapper/dists/apache-maven-3.3.1-bin/22bc38rir9hjukbpmqefdsp306/apache-maven-3.3.1/bin/mvn
Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T20:10:27+00:00)
Maven home: /home/travis/.m2/wrapper/dists/apache-maven-3.3.1-bin/22bc38rir9hjukbpmqefdsp306/apache-maven-3.3.1
Java version: 9.0.4, vendor: Oracle Corporation
Java home: /home/travis/oraclejdk9
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-1055-gcp", arch: "amd64", family: "unix"
[INFO] Downloading: https://maven-central.storage-download.googleapis.com/maven2/io/takari/polyglot/polyglot-ruby/0.4.4/polyglot-ruby-0.4.4.pom
[WARNING] Failed to read extensions descriptor /home/travis/build/mkristian/jbundler/.mvn/extensions.xml: Plugin io.takari.polyglot:polyglot-ruby:0.4.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for io.takari.polyglot:polyglot-ruby:jar:0.4.4
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.080 s
[INFO] Finished at: 2020-04-09T20:21:29+00:00
[INFO] Final Memory: 12M/41M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/travis/build/mkristian/jbundler). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
oraclejdk9 failure
Details
openjdk8 failure