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

Hook up unit tests to Travis CI #4

Closed
jverkoey opened this issue Jul 1, 2016 · 5 comments
Closed

Hook up unit tests to Travis CI #4

jverkoey opened this issue Jul 1, 2016 · 5 comments

Comments

@jverkoey
Copy link
Contributor

jverkoey commented Jul 1, 2016

Blocked on #1.

@jverkoey jverkoey added this to the Next release milestone Jul 1, 2016
@jverkoey jverkoey modified the milestones: v1.0.0, Initial unit tests Jul 7, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 3, 2016
@seanoshea
Copy link
Contributor

seanoshea commented Aug 3, 2016

Taking a look at this issue at https://github.com/seanoshea/material-motion-runtime-android/tree/issues/4-travis-unit-tests. Seems like I can get it to pass sometimes (https://travis-ci.org/seanoshea/material-motion-runtime-android/builds/149366702) and other times it fails (https://travis-ci.org/seanoshea/material-motion-runtime-android/builds/149543452) with the exact same codebase.

FWIW, I've had issues in the past with travis-ci and Android testing. Moved over to circleci with seanoshea/BluePlaquesLondon-Android#135 on a personal project and it seems like its pretty solid so far. I've never had any false positive failures when building the app.

I wonder if we could get any help from the folks at travis-ci to understand a little more about why we are having intermittent issues connecting to the emulator? Will keep hacking away at this in the meantime to see if I can get a more consistent build.

@pingpongboss
Copy link
Contributor

Hi Sean, thanks for jumping on this! Personally, I do not have any experience with travisci, so I don't think I can help with much. But I did notice that your "I can get it to pass sometimes" example (https://travis-ci.org/seanoshea/material-motion-runtime-android/builds/149526777) shows the same failure.

If you ever want to chat, our team is on Discord https://discord.gg/ZJyGXza and you are welcomed to join us.

@seanoshea
Copy link
Contributor

Oooops. Wrong link in that previous comment. Managed to get it to pass in https://travis-ci.org/seanoshea/material-motion-runtime-android/builds/149366702, but can't get this working consistently. There's nothing worse than an inconsistent build, so will continue hacking away on this for a bit and see if I can come to some kind of workable solution.

seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 5, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 5, 2016
…ngs from the cradle file

as much as possible.
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 5, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 9, 2016
…rage for the library with

the sample app not collecting test coverage data.
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 17, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 17, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 17, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 17, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 17, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 17, 2016
seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 17, 2016
@pingpongboss
Copy link
Contributor

Not sure if this helps, but both http://stackoverflow.com/a/33571279/450396 and http://stackoverflow.com/a/28949723/450396 suggest that updating to gradle 2.0.0-beta3 may help.

seanoshea added a commit to seanoshea/material-motion-runtime-android that referenced this issue Aug 24, 2016
@seanoshea
Copy link
Contributor

Closing this as #19 has been merged in.

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

No branches or pull requests

3 participants