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

Make travis works with android, JavaFx, and Js #29

Closed
gzoritchak opened this issue Sep 26, 2018 · 4 comments
Closed

Make travis works with android, JavaFx, and Js #29

gzoritchak opened this issue Sep 26, 2018 · 4 comments

Comments

@gzoritchak
Copy link
Contributor

Travis CI fails on android configuration:

* What went wrong:
A problem occurred evaluating project ':app'.
> The SDK directory '/Users/gaetan/Library/Android/sdk' does not exist.

See https://stackoverflow.com/questions/27644586/how-to-set-up-travis-ci-with-multiple-languages
and https://docs.travis-ci.com/user/languages/android/

@erikthered
Copy link
Contributor

I can give this one a try

@gzoritchak
Copy link
Contributor Author

You're welcome.

By default, android modules are not activated (see https://github.com/data2viz/data2viz/blob/master/gradle.properties#L8). Changing that property to true makes all android gradle projects activated. They are mainly the android version of some module but there is also two applications.

examples/app is the code of https://play.google.com/store/apps/details?id=io.data2viz.data2canvas

and viz/rendering-app is used to test the rendering on android (see https://youtu.be/jnUtiyrpBCY?t=1637)

@martinbonnin
Copy link

I tried something there: martinbonnin@4e233b2.

For some reason travis-ci.org does not see my repo yet so cannot test yet. I'll update this thread if it ever works

@erikthered
Copy link
Contributor

erikthered commented Oct 17, 2018

@gzoritchak I'm trying to do this via Travis' build matrix, does the project have an easy way to run a task against subprojects with a specified platform only (-android in this case)?

UPDATE: I found a solution for this, still plugging away at other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants