-
Notifications
You must be signed in to change notification settings - Fork 989
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
Travis CI Integration #221
Conversation
TravisCI only builds on new pushes?
Quick updates on this problem. Trying to navigate through the maven process, but can't seem to track down what is causing this.
Reviewing the pom.xml, I am wondering if somehow a plugin like android-maven-plugin could be causing an issue? Considering this can run locally, I don't see why it would. |
You'll need the android sdk, the maven android sdk deployer, deploy that, On Tue, Dec 22, 2015 at 5:04 AM, Zachary Kjellberg <notifications@github.com
|
Travis CI supports Android Maven builds. In the .travis.yml file I specified all dependencies that I am aware osmdroid uses. It looks to resolve the dependencies without issue but when it executes the build for the OSM Android it fails on line 2060: nexus.codehaus.org: Name or service not known. I see in the android-maven-plugin changelog mention of resolving Fix continuous integration(use Travis Android support and enable/update ITs) which may be related to this problem? I doubt it since that seems to be an internal issue. I now realize the codehaus error was just a [WARNING] and the actual error is resolving the Android target, which is the reason for your reply. The strange part, is I see in the logs
That matches our requirement of 6.0_r1. I need to learn more on how Travis CI works and see how to tweak the config to resolve this. |
https://travis-ci.org/ZKjellberg/osmdroid#L2078 this is the real error message. cannot find android:android.jar On Tue, Dec 22, 2015 at 7:31 AM, Zachary Kjellberg <notifications@github.com
|
The 6.0_r1 I was referring to was part of that message. I don't understand why it'd fail if earlier it shows that it was properly installed. |
I don't see any indication that it was installed. Where do you see that? On Tue, Dec 22, 2015 at 7:35 AM, Zachary Kjellberg <notifications@github.com
|
|
need the maven android sdk deployer and mvn install -fn On Tue, Dec 22, 2015 at 7:42 AM, Zachary Kjellberg <notifications@github.com
|
can we have it clone the maven android sdk deployer in the script too? |
Since this project has integration tests which should be managed for future commits, adopting Travis CI could help alleviate some future issues.
I created this branch to test automatic builds using Travis CI but I am having issues.
Here is the page for the Travis builds attempted: https://travis-ci.org/ZKjellberg/osmdroid
It is currently failing on line 2060: nexus.codehaus.org: Name or service not known. Also please note my .travis.yml config as I may need to tweak this.
If I could have some assistance troubleshooting this, it could be a worthwhile addition to the project as it will also test future pull requests.