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

Test with -Z minimal-versions on CI #114

Merged
merged 2 commits into from Nov 8, 2018
Merged

Conversation

hcpl
Copy link
Contributor

@hcpl hcpl commented Nov 6, 2018

Just to make sure that reverse dependencies on env_logger won't break on -Z minimal-versions as well.

.travis.yml Outdated
@@ -10,6 +10,9 @@ before_script:
script:
- cargo run -p ci
- cargo run --example default
- if [ "${TRAVIS_RUST_VERSION}" = nightly ]; then cargo update -Z minimal-versions; fi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we run this as a separate travis environment that just does the -Z minimal-versions check at the start?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A separate travis job is fine, but what do you mean by "just the -Z minimal-versions check at the start"? Just cargo update -Z minimal-versions is not enough.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah I meant switch on some environment variable instead of the nightly version. But the script is only a few lines so we could just duplicate the script in the travis environment specifically for testing minimal versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gotcha, I'll try the switch one then.

@hcpl
Copy link
Contributor Author

hcpl commented Nov 7, 2018

When I pushed the last commit, some errors were happening on GitHub, so Travis built the first commit instead. Is there a way to re-trigger the build with the correct commit?

@KodrAus
Copy link
Collaborator

KodrAus commented Nov 8, 2018

Oh wierd! I've retriggered the build, if this one looks good then I'll go ahead and merge.

@KodrAus
Copy link
Collaborator

KodrAus commented Nov 8, 2018

Hmm, looks like it's still running the previous commit... I'll just go ahead and merge and tweak it if it needs it.

Thanks @hcpl!

@KodrAus KodrAus merged commit c1f2c20 into rust-cli:master Nov 8, 2018
@hcpl
Copy link
Contributor Author

hcpl commented Nov 8, 2018

Hmm, looks like it's still running the previous commit...

Probably a GitHub database migration/de-synchronization issue (source: https://twitter.com/castillojorgey/status/1060054801000685568).

The merge build contains the last commit, so all good now.

Thanks for merging!

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

2 participants