Skip to content

Add cargo fmt to travis build config #275

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

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

Atul9
Copy link
Contributor

@Atul9 Atul9 commented Jun 21, 2020

The stable build cargo fmt failure(https://travis-ci.com/github/servo/rust-cssparser/jobs/351864972) is fixed in #271, please merge that PR first.

@Atul9 Atul9 force-pushed the add-cargo-fmt-to-travis-config branch from 1d09120 to a6d79da Compare June 21, 2020 12:33
@SimonSapin
Copy link
Member

Does this check all crates, or only the "root" one? I’m in favor of adding checking if it’s for all crates, and with the initial formatting in a separate commit from the CI change.

@SimonSapin
Copy link
Member

This seems relevant:

$ cargo fmt --help 
[…]
FLAGS:
        --all        Format all packages (only usable in workspaces)

@Atul9 Atul9 force-pushed the add-cargo-fmt-to-travis-config branch from a6d79da to 2aea98d Compare June 21, 2020 13:00
@Atul9
Copy link
Contributor Author

Atul9 commented Jun 21, 2020

@SimonSapin I have updated .travis.yml & initial formatting is in #271 PR, please check.

@Atul9 Atul9 force-pushed the add-cargo-fmt-to-travis-config branch from 2aea98d to a09f6df Compare June 21, 2020 13:16
@SimonSapin
Copy link
Member

Looks good, thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit a09f6df has been approved by SimonSapin

bors-servo added a commit that referenced this pull request Jun 21, 2020
Add cargo fmt to travis build config

The stable build `cargo fmt` failure(https://travis-ci.com/github/servo/rust-cssparser/jobs/351864972) is fixed in #271, please merge that PR first.
@bors-servo
Copy link
Contributor

⌛ Testing commit a09f6df with merge dec5adb...

@bors-servo
Copy link
Contributor

💔 Test failed - checks-travis

@Atul9
Copy link
Contributor Author

Atul9 commented Jun 22, 2020

@SimonSapin I have opened up a PR to fix the build failure #276, please check

bors-servo added a commit that referenced this pull request Jun 22, 2020
…mmy-type, r=SimonSapin

Add rustfmt::skip to skip rustfmt for ProceduralMasqueradeDummyType enum

This PR fixes this https://travis-ci.com/github/servo/rust-cssparser/jobs/351868518 build failure in #275 PR
@SimonSapin
Copy link
Member

@bors-servo retry

Queuing this after #276

bors-servo added a commit that referenced this pull request Jun 22, 2020
Add cargo fmt to travis build config

The stable build `cargo fmt` failure(https://travis-ci.com/github/servo/rust-cssparser/jobs/351864972) is fixed in #271, please merge that PR first.
@bors-servo
Copy link
Contributor

⌛ Testing commit a09f6df with merge bfbb90e...

@bors-servo
Copy link
Contributor

💔 Test failed - checks-travis

bors-servo added a commit that referenced this pull request Jun 22, 2020
…mmy-type, r=SimonSapin

Add rustfmt::skip to skip rustfmt for ProceduralMasqueradeDummyType enum

This PR fixes this https://travis-ci.com/github/servo/rust-cssparser/jobs/351868518 build failure in #275 PR
@SimonSapin
Copy link
Member

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit a09f6df with merge 5ce9919...

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-travis
Approved by: SimonSapin
Pushing 5ce9919 to master...

@bors-servo bors-servo merged commit 5ce9919 into servo:master Jun 22, 2020
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.

3 participants