fixme-lausanne / MyHackerspace

Android app for hackerspaces status and information, using the SpaceAPI.
https://play.google.com/store/apps/details?id=ch.fixme.status
44 stars 29 forks source link

Upgrade Android SDK, remove MemorizingTrustManager #69

Closed dbrgn closed 4 years ago

dbrgn commented 4 years ago

Replaces #66.

dbrgn commented 4 years ago

Hmm, seems that Travis is not enabled anymore?

rorist commented 4 years ago

Ah yes correct, I've just relinked it.

dbrgn commented 4 years ago

This will probably still fail due to the MemorizingTrustManager using a different SDK version. I'll open a seprate PR to discuss that.

dbrgn commented 4 years ago

Hm, there's also another problem with the CI setup. And unfortunately the TravisCI docs about Android seem terribly outdated. Testing Android in CI is still a pain. I have no idea which versions are available.

What do you think about CircleCI? Their setup is Docker based, that allows you to test CI runs locally. They also allow you to SSH into build containers, in order to debug build problems. Like Travis, it's free for open source. I already have a configuration for Android testing on CircleCI from another project.

If you would like to give it a try, you would need to log in at https://circleci.com/ and enable builds for this repository. Make sure to also enable "Build forked pull requests" in the advanced settings of the project.

rorist commented 4 years ago

Sure, you can add the circleci file, the repo should be enabled. I've also enabled the pipelines. I don't know much about circleci, but sounds good.

dbrgn commented 4 years ago

Hm, doesn't seem to trigger. Maybe because the PR was created before CircleCI was enabled? I'll test it in a separate PR.

dbrgn commented 4 years ago

Cool, CI now works :) So far without an emulator, but that can be added if/once we have UI tests.

rnestler commented 4 years ago

Hm, doesn't seem to trigger. Maybe because the PR was created before CircleCI was enabled? I'll test it in a separate PR.

You need to push again after enabling CircleCI so it triggers a build.

dbrgn commented 4 years ago

You need to push again after enabling CircleCI so it triggers a build.

I did :wink: I later removed the commit during the force push. The actual reason was this.