-
Notifications
You must be signed in to change notification settings - Fork 443
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
Conversation
.travis.yml
Outdated
@@ -16,6 +16,7 @@ cache: | |||
- $HOME/.sbt | |||
- $HOME/.m2 | |||
- $HOME/.ivy2 | |||
- $HOME/graalvm-ce-1.0.0-rc7 |
There was a problem hiding this comment.
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
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 |
There was a problem hiding this comment.
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
82def0a
to
6e1ee23
Compare
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.
6e1ee23
to
fded7e1
Compare
There was a problem hiding this 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 😍
No need for squashing 😉 GitHub has a button for this 😎 |
You can merge after CI passed 👍 |
Also move out the sbt downloader into the same directory as the
downloader.