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

Fix the Travis CI badge #6530

Merged
merged 4 commits into from
Jan 10, 2019
Merged

Fix the Travis CI badge #6530

merged 4 commits into from
Jan 10, 2019

Conversation

dwijnand
Copy link
Member

@dwijnand dwijnand commented Jan 9, 2019

And with this PR trigger the first travis-ci.com build! :D

@rust-highfive
Copy link

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@ehuss
Copy link
Contributor

ehuss commented Jan 9, 2019

I don't think Cargo ever builds on master, so I don't think the icon will update properly. I'll r+ another PR and see what it looks like.

@dwijnand
Copy link
Member Author

dwijnand commented Jan 9, 2019

Hmm, bors builds the commit, attaches the result to the SHA and then fast-forwards master to it (on success), so I think it should show up. It would be always green though, actually. 😄

@ehuss
Copy link
Contributor

ehuss commented Jan 9, 2019

Travis only knows about the branches it tests. As you can see, the new url doesn't work (says "unknown"):
https://travis-ci.com/rust-lang/cargo.svg?branch=master

master

I think it will need to be auto-cargo, like this: https://travis-ci.com/rust-lang/cargo.svg?branch=auto-cargo

auto-cargo

But, yea, it should never be not-green.

@dwijnand
Copy link
Member Author

dwijnand commented Jan 9, 2019

Yep, agreed.

@Eh2406
Copy link
Contributor

Eh2406 commented Jan 9, 2019

auto-cargo is left in a failed state for long periods of time, betean a test fail and the next r+

@alexcrichton
Copy link
Member

I wonder if we could just link to an always green badge because master is alwasy green anyway...

Alternatively we could do something like run cargo check on master perhaps? Or maybe just run one builder on the master branch to get a badge there?

Only run for Rust stable and the Linux target.
@dwijnand
Copy link
Member Author

Good idea. Pushed. It could fail, because of the flaky resolution tests, but maybe that'll drive us to fix that situation.

@dwijnand
Copy link
Member Author

Broken pending rust-lang/rust#57484 or nightly rollback.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Jan 10, 2019

📌 Commit 5576372 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Jan 10, 2019

⌛ Testing commit 5576372 with merge bb8bb0d...

bors added a commit that referenced this pull request Jan 10, 2019
Fix the Travis CI badge

And with this PR trigger the first travis-ci.com build! :D
@ehuss
Copy link
Contributor

ehuss commented Jan 10, 2019

Looks like homu missed the notification again.

@bors
Copy link
Collaborator

bors commented Jan 10, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: alexcrichton
Pushing bb8bb0d to master...

@bors bors merged commit 5576372 into rust-lang:master Jan 10, 2019
@alexcrichton
Copy link
Member

Yep, a webhook notification failed, redelivered via github interface and looks good now

@dwijnand dwijnand deleted the fix-badge branch January 10, 2019 19:11
bors added a commit to rust-lang/rust that referenced this pull request Jan 14, 2019
Update cargo

13 commits in 34320d212dca8cd27d06ce93c16c6151f46fcf2e..2b4a5f1f0bb6e13759e88ea9512527b0beba154f
2019-01-03 19:12:38 +0000 to 2019-01-12 04:13:12 +0000
- Add test for publish with [patch] + cleanup. (rust-lang/cargo#6544)
- Fix clippy warning (rust-lang/cargo#6546)
- Revert "Workaround by using yesterday's nightly" (rust-lang/cargo#6540)
- Adding feature-flags to `cargo publish` and `cargo package` (rust-lang/cargo#6453)
- Fix the Travis CI badge (rust-lang/cargo#6530)
- Add helpful text for Windows exceptions like Unix (rust-lang/cargo#6532)
- Report fix bugs to Rust instead of Cargo (rust-lang/cargo#6531)
- --{example,bin,bench,test} with no argument now lists all available targets (rust-lang/cargo#6505)
- Rebuild on mid build file modification (rust-lang/cargo#6484)
- Derive Clone for TomlDependency (rust-lang/cargo#6527)
- publish: rework the crates.io detection logic. (rust-lang/cargo#6525)
- avoid duplicates in ignore files (rust-lang/cargo#6521)
- Rustflags in metadata (rust-lang/cargo#6503)

r? @alexcrichton
@ehuss ehuss added this to the 1.33.0 milestone Feb 6, 2022
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

Successfully merging this pull request may close these issues.

None yet

6 participants