Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Travis tests for the GraalVL native-image plug-in #1166

Merged
merged 3 commits into from
Oct 27, 2018

Conversation

ScalaWilliam
Copy link
Contributor

@ScalaWilliam ScalaWilliam commented Oct 20, 2018

Also move out the sbt downloader into the same directory as the
downloader.

@muuki88 muuki88 added the graalvm GraalVM releated issues label Oct 21, 2018
.travis.yml Outdated
@@ -16,6 +16,7 @@ cache:
- $HOME/.sbt
- $HOME/.m2
- $HOME/.ivy2
- $HOME/graalvm-ce-1.0.0-rc7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rc8 has been released two days ago 😄

.travis.yml Show resolved Hide resolved
.travis.yml Outdated
@@ -36,6 +37,18 @@ before_install:

before_script:
- curl -L --create-dirs -o $HOME/.sbt/launchers/1.2.6/sbt-launch.jar http://dl.bintray.com/sbt/maven-releases/org/scala-sbt/sbt-launch/1.2.6/sbt-launch.jar
# Make GraalVM `native-image` available and nothing else
- if [[ ! -d graalvm-ce-1.0.0-rc7 ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the yml parser or what ever doesn't cope well with this bunch of code. My suggestion would be to add a .travis folder and place all travis related scripts in there and call them here in a single line, e.g.

  - .travis/download-sbt
  - .travis/download-graalvm

@ScalaWilliam
Copy link
Contributor Author

All right @muuki88, it passed and then I squashed all the commits. Please take a look.

Also move out the sbt downloader into the same directory as the
downloader.
Copy link
Contributor

@muuki88 muuki88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the env variable configuration style.

Thanks for working on this 😍

.travis.yml Show resolved Hide resolved
@muuki88
Copy link
Contributor

muuki88 commented Oct 27, 2018

No need for squashing 😉 GitHub has a button for this 😎

@muuki88
Copy link
Contributor

muuki88 commented Oct 27, 2018

You can merge after CI passed 👍

@ScalaWilliam ScalaWilliam merged commit 78077f2 into sbt:master Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
graalvm GraalVM releated issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants