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

Change build shield from Travis to CircleCI #297

Merged
merged 5 commits into from
Aug 19, 2020
Merged

Change build shield from Travis to CircleCI #297

merged 5 commits into from
Aug 19, 2020

Conversation

eurunuela
Copy link
Collaborator

Closes #296

Proposed Changes

  • Change link to Travis CI for the link to CircleCI to display correct build shield.

@eurunuela eurunuela requested a review from tsalo August 19, 2020 16:57
@eurunuela eurunuela added the BugFIX This PR generally closes a `Bug` issue, and increments the patch version (0.0.+1) label Aug 19, 2020
@codecov
Copy link

codecov bot commented Aug 19, 2020

Codecov Report

Merging #297 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #297   +/-   ##
=======================================
  Coverage   92.87%   92.87%           
=======================================
  Files           9        9           
  Lines         842      842           
=======================================
  Hits          782      782           
  Misses         60       60           

README.md Outdated Show resolved Hide resolved
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
@tsalo
Copy link
Member

tsalo commented Aug 19, 2020

You'll want to do docs/index.rst too.

@eurunuela
Copy link
Collaborator Author

You'll want to do docs/index.rst too.

What do you mean? We already have a badge for the docs.

@tsalo
Copy link
Member

tsalo commented Aug 19, 2020

The badge in docs/index.rst still points to Travis.

Apologies for the blame view, but permalinks in RST and MD files don't work...

https://github.com/physiopy/phys2bids/blame/ff2e0e36cf6c3a2170550defbf2570114938513a/docs/index.rst#L13-L15

@eurunuela
Copy link
Collaborator Author

Oh right. I thought you were talking about the README. My bad. Will push a commit now.

@eurunuela
Copy link
Collaborator Author

Okay, I think that should make it @tsalo . Thank you!

@tsalo
Copy link
Member

tsalo commented Aug 19, 2020

@eurunuela the build docs artifact is pointing to the wrong build. Based on larsoner/circleci-artifacts-redirector#6, I think the solution may be to enable Only build pull requests.

CircleCI phys2bids page --> Project Settings --> Advanced Settings --> turn on Only build pull requests

Would you be willing to give that a try?

@eurunuela
Copy link
Collaborator Author

eurunuela commented Aug 19, 2020

@eurunuela the build docs artifact is pointing to the wrong build. Based on larsoner/circleci-artifacts-redirector#6, I think the solution may be to enable Only build pull requests.

CircleCI phys2bids page --> Project Settings --> Advanced Settings --> turn on Only build pull requests

Would you be willing to give that a try?

Done. Please let me know if there's anything else we have to change.

@eurunuela
Copy link
Collaborator Author

Just swapped the Gitter and CircleCI badges on the docs. It makes more sense to me that all the ones related to builds are next to each other.

I don't have a strong opinion on this, so let me know if you think it's not a good idea.

@tsalo
Copy link
Member

tsalo commented Aug 19, 2020

It turns out I have permissions on the CircleCI settings for this project, so I checked them. After you enabled "Only build pull requests", I noticed that the CircleCI status checks didn't show up here on your newest commit. I went into the settings and enabled "Build forked pull requests", which should hopefully fix that. A bunch of pipelines started running, and I'm hoping that, once they're done, everything should be good here. All of the settings match my own on other projects I contribute to, so hopefully it'll be fine. I just want to wait until it all finishes before approving this.

@tsalo
Copy link
Member

tsalo commented Aug 19, 2020

The backlog finished. Would you mind pushing one small commit to hopefully trigger things a final time?

@eurunuela
Copy link
Collaborator Author

Thanks @tsalo . Hopefully this last commit will make it work.

@eurunuela eurunuela requested a review from tsalo August 19, 2020 18:39
Copy link
Member

@tsalo tsalo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@eurunuela eurunuela merged commit c20cef8 into physiopy:master Aug 19, 2020
@eurunuela
Copy link
Collaborator Author

It turns out I have permissions on the CircleCI settings for this project, so I checked them. After you enabled "Only build pull requests", I noticed that the CircleCI status checks didn't show up here on your newest commit. I went into the settings and enabled "Build forked pull requests", which should hopefully fix that. A bunch of pipelines started running, and I'm hoping that, once they're done, everything should be good here. All of the settings match my own on other projects I contribute to, so hopefully it'll be fine. I just want to wait until it all finishes before approving this.

It turns out I had to do that on my own CircleCI profile too, otherwise the checks only appear when merging with master.

@eurunuela eurunuela deleted the fix/readme branch August 25, 2020 05:19
@smoia smoia added released This issue/pull request has been released. BugFIX This PR generally closes a `Bug` issue, and increments the patch version (0.0.+1) and removed BugFIX This PR generally closes a `Bug` issue, and increments the patch version (0.0.+1) labels Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BugFIX This PR generally closes a `Bug` issue, and increments the patch version (0.0.+1) released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build shield in README is still linked to Travis CI
3 participants